[llvm-commits] [llvm] r138091 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Nick Lewycky nicholas at mxc.ca
Fri Aug 19 14:45:19 PDT 2011


Author: nicholas
Date: Fri Aug 19 16:45:19 2011
New Revision: 138091

URL: http://llvm.org/viewvc/llvm-project?rev=138091&view=rev
Log:
Eli points out that this is what report_fatal_error() is for.

Modified:
    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp

Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp?rev=138091&r1=138090&r2=138091&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp Fri Aug 19 16:45:19 2011
@@ -45,7 +45,8 @@
     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;





More information about the llvm-commits mailing list