From: Nick Lewycky Date: Fri, 19 Aug 2011 21:45:19 +0000 (+0000) Subject: Eli points out that this is what report_fatal_error() is for. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=5aa5d574f464ff9ff15a4c01360aaabc9bdc8a8f;p=oota-llvm.git 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 --- diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp index 7928bc78b7b..dfc4fd2e9e9 100644 --- a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp +++ b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp @@ -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;