OSDN Git Service

Eli points out that this is what report_fatal_error() is for.
authorNick Lewycky <nicholas@mxc.ca>
Fri, 19 Aug 2011 21:45:19 +0000 (21:45 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 19 Aug 2011 21:45:19 +0000 (21:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138091 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

index 7928bc7..dfc4fd2 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;