mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Change llvm_unreachable in SplitVectorOperand to report_fatal_error. Keeps release builds from crashing if code uses an intrinsic with an illegal type.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160661 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b57134523c
commit
ea0ca84647
@ -1018,7 +1018,9 @@ bool DAGTypeLegalizer::SplitVectorOperand(SDNode *N, unsigned OpNo) {
|
||||
N->dump(&DAG);
|
||||
dbgs() << "\n";
|
||||
#endif
|
||||
llvm_unreachable("Do not know how to split this operator's operand!");
|
||||
report_fatal_error("Do not know how to split this operator's "
|
||||
"operand!\n");
|
||||
|
||||
case ISD::SETCC: Res = SplitVecOp_VSETCC(N); break;
|
||||
case ISD::BITCAST: Res = SplitVecOp_BITCAST(N); break;
|
||||
case ISD::EXTRACT_SUBVECTOR: Res = SplitVecOp_EXTRACT_SUBVECTOR(N); break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user