Eli points out that this is what report_fatal_error() is for.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138091 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nick Lewycky 2011-08-19 21:45:19 +00:00
parent 1679882794
commit 5aa5d574f4

View File

@ -45,7 +45,8 @@ void DAGTypeLegalizer::ScalarizeVectorResult(SDNode *N, unsigned ResNo) {
dbgs() << "\n";
dbgs() << "Do not know how to scalarize the result of this operator!\n";
#endif
abort();
report_fatal_error("Do not know how to scalarize the result of this "
"operator!\n");
case ISD::BITCAST: R = ScalarizeVecRes_BITCAST(N); break;
case ISD::BUILD_VECTOR: R = N->getOperand(0); break;