From 5aa5d574f464ff9ff15a4c01360aaabc9bdc8a8f Mon Sep 17 00:00:00 2001 From: Nick Lewycky Date: Fri, 19 Aug 2011 21:45:19 +0000 Subject: [PATCH] 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 --- lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.34.1