summaryrefslogtreecommitdiff
path: root/lib/CodeGen/SelectionDAG
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2011-08-19 21:45:19 +0000
committerNick Lewycky <nicholas@mxc.ca>2011-08-19 21:45:19 +0000
commit5aa5d574f464ff9ff15a4c01360aaabc9bdc8a8f (patch)
tree9e4e979aa87b25ab7323c3a127bd869d7a0e9a12 /lib/CodeGen/SelectionDAG
parent1679882794c625c349301148d15737e845026b9d (diff)
downloadllvm-5aa5d574f464ff9ff15a4c01360aaabc9bdc8a8f.tar.gz
llvm-5aa5d574f464ff9ff15a4c01360aaabc9bdc8a8f.tar.bz2
llvm-5aa5d574f464ff9ff15a4c01360aaabc9bdc8a8f.tar.xz
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
Diffstat (limited to 'lib/CodeGen/SelectionDAG')
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp b/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
index 7928bc78b7..dfc4fd2e9e 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;