aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-03-08 07:07:03 +0000
committerChris Lattner <sabre@nondot.org>2007-03-08 07:07:03 +0000
commitb4ddac9bf7b9d4aa7267702f375647b370ad32f4 (patch)
tree99c74540c0513643fb745f7614a911e1838b6ac7
parent97f9df1cd12bcea2a952304853193bf833214318 (diff)
downloadexternal_llvm-b4ddac9bf7b9d4aa7267702f375647b370ad32f4.zip
external_llvm-b4ddac9bf7b9d4aa7267702f375647b370ad32f4.tar.gz
external_llvm-b4ddac9bf7b9d4aa7267702f375647b370ad32f4.tar.bz2
make this fail even in non-assert builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35025 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
index f833c12..581b402 100644
--- a/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
+++ b/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
@@ -2883,8 +2883,10 @@ void SelectionDAGLowering::visitInlineAsm(CallInst &I) {
// Memory input.
// Check that the operand isn't a float.
- if (!MVT::isInteger(InOperandVal.getValueType()))
- assert(0 && "MATCH FAIL!");
+ if (!MVT::isInteger(InOperandVal.getValueType())) {
+ cerr << "Match failed, can't handle floats yet!\n";
+ exit(1);
+ }
// Extend/truncate to the right pointer type if needed.
MVT::ValueType PtrType = TLI.getPointerTy();