Eli points out that this is what report_fatal_error() is for.
[oota-llvm.git] / lib / CodeGen / SelectionDAG / LegalizeVectorTypes.cpp
index 7928bc78b7bd566fe2b740c0b4bbc55478cf1bce..dfc4fd2e9e914c14044678350558e805d6f69756 100644 (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;