[llvm-commits] [llvm] r117996 - /llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Eric Christopher echristo at apple.com
Mon Nov 1 18:24:49 PDT 2010


Author: echristo
Date: Mon Nov  1 20:24:49 2010
New Revision: 117996

URL: http://llvm.org/viewvc/llvm-project?rev=117996&view=rev
Log:
Remove an assert - it's possible to be hit, and we just want to avoid
handling those cases for now.

Modified:
    llvm/trunk/lib/Target/ARM/ARMFastISel.cpp

Modified: llvm/trunk/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMFastISel.cpp?rev=117996&r1=117995&r2=117996&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMFastISel.cpp Mon Nov  1 20:24:49 2010
@@ -889,7 +889,7 @@
     case CmpInst::FCMP_ONE:
     case CmpInst::FCMP_UEQ:
     default:
-      assert(false && "Unhandled CmpInst::Predicate!");
+      // AL is our "false" for now. The other two need more compares.
       return ARMCC::AL;
     case CmpInst::ICMP_EQ:
     case CmpInst::FCMP_OEQ:





More information about the llvm-commits mailing list