diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-03-08 07:07:03 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-03-08 07:07:03 +0000 |
| commit | b7bc3f2d3077a833741c64eb6c12c335bdbe3130 (patch) | |
| tree | 19f09a949528a3029340d6d2df148f8813def489 /llvm/lib | |
| parent | abd3bff4f23d5548b06e57cfa54904e795b9db45 (diff) | |
| download | bcm5719-llvm-b7bc3f2d3077a833741c64eb6c12c335bdbe3130.tar.gz bcm5719-llvm-b7bc3f2d3077a833741c64eb6c12c335bdbe3130.zip | |
make this fail even in non-assert builds.
llvm-svn: 35025
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp index f833c125041..581b402aeae 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp +++ b/llvm/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(); |

