From 6740da94070f90c9a70b63ae486c34f09241757c Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Fri, 8 Jun 2007 09:14:47 +0000 Subject: [PATCH] Fix ARM condition code subsumission check. llvm-svn: 37517 --- llvm/lib/Target/ARM/ARMInstrInfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/llvm/lib/Target/ARM/ARMInstrInfo.cpp b/llvm/lib/Target/ARM/ARMInstrInfo.cpp index 867ce063b198..0d0b81391463 100644 --- a/llvm/lib/Target/ARM/ARMInstrInfo.cpp +++ b/llvm/lib/Target/ARM/ARMInstrInfo.cpp @@ -471,13 +471,13 @@ ARMInstrInfo::SubsumesPredicate(const std::vector &Pred1, case ARMCC::AL: return true; case ARMCC::HS: - return CC2 == ARMCC::HI || CC2 == ARMCC::EQ; + return CC2 == ARMCC::HI; case ARMCC::LS: return CC2 == ARMCC::LO || CC2 == ARMCC::EQ; case ARMCC::GE: - return CC2 == ARMCC::GT || CC2 == ARMCC::EQ; + return CC2 == ARMCC::GT; case ARMCC::LE: - return CC2 == ARMCC::LT || CC2 == ARMCC::EQ; + return CC2 == ARMCC::LT; } }