forked from OSchip/llvm-project
Drop code after unreachable. No functionality change.
llvm-svn: 251278
This commit is contained in:
parent
dc8b2d3d3a
commit
8604457f2e
|
@ -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…
Reference in New Issue