mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-21 06:30:16 +00:00
Change llvm_unreachable in SplitVectorResult to report_fatal_error. Keeps release builds from crashing if code uses an intrinsic with an illegal type. For instance 256-bit AVX intrinsics without having AVX enabled.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@160616 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9b4df49d39
commit
200e04c3fd
@ -469,7 +469,8 @@ void DAGTypeLegalizer::SplitVectorResult(SDNode *N, unsigned ResNo) {
|
|||||||
N->dump(&DAG);
|
N->dump(&DAG);
|
||||||
dbgs() << "\n";
|
dbgs() << "\n";
|
||||||
#endif
|
#endif
|
||||||
llvm_unreachable("Do not know how to split the result of this operator!");
|
report_fatal_error("Do not know how to split the result of this "
|
||||||
|
"operator!\n");
|
||||||
|
|
||||||
case ISD::MERGE_VALUES: SplitRes_MERGE_VALUES(N, ResNo, Lo, Hi); break;
|
case ISD::MERGE_VALUES: SplitRes_MERGE_VALUES(N, ResNo, Lo, Hi); break;
|
||||||
case ISD::VSELECT:
|
case ISD::VSELECT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user