aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/X86ISelLowering.cpp
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-07-08 19:04:27 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-07-08 19:04:27 +0000
commit804e0fea4033e3b91dbc8198cef30de30f141bb5 (patch)
tree5a0a48c149464165b7df8e87980b51c5964f9f46 /lib/Target/X86/X86ISelLowering.cpp
parente9b11b431308f4766b73cda93e38ec930c912122 (diff)
downloadexternal_llvm-804e0fea4033e3b91dbc8198cef30de30f141bb5.tar.gz
external_llvm-804e0fea4033e3b91dbc8198cef30de30f141bb5.tar.bz2
external_llvm-804e0fea4033e3b91dbc8198cef30de30f141bb5.zip
Convert more abort() calls to llvm_report_error().
Also remove trailing semicolon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.cpp')
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Target/X86/X86ISelLowering.cpp b/lib/Target/X86/X86ISelLowering.cpp
index 4c2bc45098..33789ce66c 100644
--- a/lib/Target/X86/X86ISelLowering.cpp
+++ b/lib/Target/X86/X86ISelLowering.cpp
@@ -1186,8 +1186,7 @@ LowerCallResult(SDValue Chain, SDValue InFlag, CallSDNode *TheCall,
// If this is x86-64, and we disabled SSE, we can't return FP values
if ((CopyVT == MVT::f32 || CopyVT == MVT::f64) &&
((Is64Bit || TheCall->isInreg()) && !Subtarget->hasSSE1())) {
- cerr << "SSE register return with SSE disabled\n";
- exit(1);
+ llvm_report_error("SSE register return with SSE disabled");
}
// If this is a call to a function that returns an fp value on the floating