[llvm-branch-commits] [llvm-branch] r118522 - /llvm/branches/Apple/whitney/lib/Target/ARM/ARMFastISel.cpp

Daniel Dunbar daniel at zuster.org
Tue Nov 9 09:28:02 PST 2010


Author: ddunbar
Date: Tue Nov  9 11:28:02 2010
New Revision: 118522

URL: http://llvm.org/viewvc/llvm-project?rev=118522&view=rev
Log:
Merge r117996:
--
Author: Eric Christopher <echristo at apple.com>
Date:   Tue Nov 2 01:24:49 2010 +0000

    Remove an assert - it's possible to be hit, and we just want to avoid
    handling those cases for now.

Modified:
    llvm/branches/Apple/whitney/lib/Target/ARM/ARMFastISel.cpp

Modified: llvm/branches/Apple/whitney/lib/Target/ARM/ARMFastISel.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/whitney/lib/Target/ARM/ARMFastISel.cpp?rev=118522&r1=118521&r2=118522&view=diff
==============================================================================
--- llvm/branches/Apple/whitney/lib/Target/ARM/ARMFastISel.cpp (original)
+++ llvm/branches/Apple/whitney/lib/Target/ARM/ARMFastISel.cpp Tue Nov  9 11:28:02 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-branch-commits mailing list