From 4053e63a4b2f54446e29ef5bdad64e43b3bf52d6 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 2 Nov 2010 01:24:49 +0000 Subject: [PATCH] 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 --- lib/Target/ARM/ARMFastISel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.11.0