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

llvm-svn: 138091
This commit is contained in:
Nick Lewycky 2011-08-19 21:45:19 +00:00
parent 1c241f741e
commit c1348074ec
1 changed files with 2 additions and 1 deletions

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;