mirror of
https://github.com/RPCS3/llvm.git
synced 2025-05-13 08:56:04 +00:00
Drop code after unreachable. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@251278 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
31a3f5f4a1
commit
6f975c928c
@ -318,7 +318,6 @@ Value *GenericToNVVM::remapConstantExpr(Module *M, Function *F, ConstantExpr *C,
|
||||
// CompareConstantExpr (fcmp)
|
||||
llvm_unreachable("Address space conversion should have no effect "
|
||||
"on float point CompareConstantExpr (fcmp)!");
|
||||
return C;
|
||||
case Instruction::ExtractElement:
|
||||
// ExtractElementConstantExpr
|
||||
return Builder.CreateExtractElement(NewOperands[0], NewOperands[1]);
|
||||
@ -363,7 +362,6 @@ Value *GenericToNVVM::remapConstantExpr(Module *M, Function *F, ConstantExpr *C,
|
||||
NewOperands[0], C->getType());
|
||||
}
|
||||
llvm_unreachable("GenericToNVVM encountered an unsupported ConstantExpr");
|
||||
return C;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -790,7 +790,6 @@ void PPCVSXSwapRemoval::handleSpecialSwappables(int EntryIdx) {
|
||||
|
||||
default:
|
||||
llvm_unreachable("Unexpected special handling type");
|
||||
break;
|
||||
|
||||
// For splats based on an index into a vector, add N/2 modulo N
|
||||
// to the index, where N is the number of vector elements.
|
||||
|
Loading…
x
Reference in New Issue
Block a user