Fix ARM condition code subsumission check.

llvm-svn: 37517
This commit is contained in:
Evan Cheng 2007-06-08 09:14:47 +00:00
parent f62a5afb98
commit 6740da9407
1 changed files with 3 additions and 3 deletions

View File

@ -471,13 +471,13 @@ ARMInstrInfo::SubsumesPredicate(const std::vector<MachineOperand> &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;
}
}