Remove an assert - it's possible to be hit, and we just want to avoid
authorEric Christopher <echristo@apple.com>
Tue, 2 Nov 2010 01:24:49 +0000 (01:24 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 2 Nov 2010 01:24:49 +0000 (01:24 +0000)
handling those cases for now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117996 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/ARM/ARMFastISel.cpp

index 41e63dc56517db9b912f978fb23dcf550d442e07..d89050e370b3238f3df73398ac1df3c4715478e8 100644 (file)
@@ -889,7 +889,7 @@ static ARMCC::CondCodes getComparePred(CmpInst::Predicate Pred) {
     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: