From: Eric Christopher Date: Tue, 2 Nov 2010 01:24:49 +0000 (+0000) Subject: Remove an assert - it's possible to be hit, and we just want to avoid X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4053e63a4b2f54446e29ef5bdad64e43b3bf52d6;p=oota-llvm.git Remove an assert - it's possible to be hit, and we just want to avoid handling those cases for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117996 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/ARM/ARMFastISel.cpp b/lib/Target/ARM/ARMFastISel.cpp index 41e63dc5651..d89050e370b 100644 --- a/lib/Target/ARM/ARMFastISel.cpp +++ b/lib/Target/ARM/ARMFastISel.cpp @@ -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: