Changes in directory llvm/lib/CodeGen/SelectionDAG:

SelectionDAGISel.cpp updated: 1.382 -> 1.383
---
Log message:

make this fail even in non-assert builds.


---
Diffs of the changes:  (+4 -2)

 SelectionDAGISel.cpp |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)


Index: llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
diff -u llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.382 
llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.383
--- llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp:1.382    Wed Mar  7 
10:25:08 2007
+++ llvm/lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp  Thu Mar  8 01:07:03 2007
@@ -2883,8 +2883,10 @@
         // 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();



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to