mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-18 12:29:21 +00:00
Fix ARM condition code subsumission check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37517 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f81dea45b5
commit
1fc7cb695c
@ -471,13 +471,13 @@ ARMInstrInfo::SubsumesPredicate(const std::vector<MachineOperand> &Pred1,
|
|||||||
case ARMCC::AL:
|
case ARMCC::AL:
|
||||||
return true;
|
return true;
|
||||||
case ARMCC::HS:
|
case ARMCC::HS:
|
||||||
return CC2 == ARMCC::HI || CC2 == ARMCC::EQ;
|
return CC2 == ARMCC::HI;
|
||||||
case ARMCC::LS:
|
case ARMCC::LS:
|
||||||
return CC2 == ARMCC::LO || CC2 == ARMCC::EQ;
|
return CC2 == ARMCC::LO || CC2 == ARMCC::EQ;
|
||||||
case ARMCC::GE:
|
case ARMCC::GE:
|
||||||
return CC2 == ARMCC::GT || CC2 == ARMCC::EQ;
|
return CC2 == ARMCC::GT;
|
||||||
case ARMCC::LE:
|
case ARMCC::LE:
|
||||||
return CC2 == ARMCC::LT || CC2 == ARMCC::EQ;
|
return CC2 == ARMCC::LT;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user