summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-04-09 15:10:15 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-04-09 15:10:15 +0000
commit2fc99838529c59e81036d26ebec840e9ddc26213 (patch)
treea40087249b7c804b112460c7d9d151b99d81fc9a /llvm/lib/Target
parentc28c3b625f6b36969b3d6d3317f5b1b2835e3c38 (diff)
downloadbcm5719-llvm-2fc99838529c59e81036d26ebec840e9ddc26213.tar.gz
bcm5719-llvm-2fc99838529c59e81036d26ebec840e9ddc26213.zip
Changed assertions to error messages.
llvm-svn: 12787
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/X86/InstSelectSimple.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/Target/X86/InstSelectSimple.cpp b/llvm/lib/Target/X86/InstSelectSimple.cpp
index 3ceefe7ccd9..ce86e9cd94f 100644
--- a/llvm/lib/Target/X86/InstSelectSimple.cpp
+++ b/llvm/lib/Target/X86/InstSelectSimple.cpp
@@ -1691,7 +1691,8 @@ void ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
BuildMI(BB, X86::IN32, 0);
break;
default:
- assert (0 && "Cannot do input on this data type");
+ std::cerr << "Cannot do input on this data type";
+ exit (1);
}
return;
@@ -1725,7 +1726,8 @@ void ISel::visitIntrinsicCall(Intrinsic::ID ID, CallInst &CI) {
BuildMI(BB, X86::OUT32, 0);
break;
default:
- assert (0 && "Cannot do input on this data type");
+ std::cerr << "Cannot do output on this data type";
+ exit (1);
}
return;
OpenPOWER on IntegriCloud