mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 07:17:36 +00:00
AArch64/ARM64: use HS instead of CS & LO instead of CC.
On instructions using the NZCV register, a couple of conditions have dual representations: HS/CS and LO/CC (meaning unsigned-higher-or-same/carry-set and unsigned-lower/carry-clear). The first of these is more descriptive in most circumstances, so we should print it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207644 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -737,9 +737,9 @@ static ARM64CC::CondCode getCompareCC(CmpInst::Predicate Pred) {
|
||||
case CmpInst::ICMP_NE:
|
||||
return ARM64CC::NE;
|
||||
case CmpInst::ICMP_UGE:
|
||||
return ARM64CC::CS;
|
||||
return ARM64CC::HS;
|
||||
case CmpInst::ICMP_ULT:
|
||||
return ARM64CC::CC;
|
||||
return ARM64CC::LO;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user