mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-14 17:34:41 +00:00
Tidy up a bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
837fc5e9d5
commit
fb9cffea4a
@ -3222,9 +3222,8 @@ getMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet,
|
||||
(!isThumb() && (Mnemonic == "mov" || Mnemonic == "mla" ||
|
||||
Mnemonic == "smlal"))) {
|
||||
CanAcceptCarrySet = true;
|
||||
} else {
|
||||
} else
|
||||
CanAcceptCarrySet = false;
|
||||
}
|
||||
|
||||
if (Mnemonic == "cbnz" || Mnemonic == "setend" || Mnemonic == "dmb" ||
|
||||
Mnemonic == "cps" || Mnemonic == "mcr2" || Mnemonic == "it" ||
|
||||
@ -3239,14 +3238,14 @@ getMnemonicAcceptInfo(StringRef Mnemonic, bool &CanAcceptCarrySet,
|
||||
!isThumb()) ||
|
||||
Mnemonic.startswith("cps") || (Mnemonic == "movs" && isThumbOne())) {
|
||||
CanAcceptPredicationCode = false;
|
||||
} else {
|
||||
} else
|
||||
CanAcceptPredicationCode = true;
|
||||
}
|
||||
|
||||
if (isThumb())
|
||||
if (isThumb()) {
|
||||
if (Mnemonic == "bkpt" || Mnemonic == "mcr" || Mnemonic == "mcrr" ||
|
||||
Mnemonic == "mrc" || Mnemonic == "mrrc" || Mnemonic == "cdp")
|
||||
CanAcceptPredicationCode = false;
|
||||
}
|
||||
}
|
||||
|
||||
bool ARMAsmParser::shouldOmitCCOutOperand(StringRef Mnemonic,
|
||||
|
Loading…
x
Reference in New Issue
Block a user