mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-30 16:34:03 +00:00
[ARM64] Conditional branches must always print their condition code, even AL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205894 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42c672649c
commit
19b573d9c9
@ -1156,8 +1156,7 @@ void ARM64InstPrinter::printExtend(const MCInst *MI, unsigned OpNum,
|
||||
void ARM64InstPrinter::printDotCondCode(const MCInst *MI, unsigned OpNum,
|
||||
raw_ostream &O) {
|
||||
ARM64CC::CondCode CC = (ARM64CC::CondCode)MI->getOperand(OpNum).getImm();
|
||||
if (CC != ARM64CC::AL)
|
||||
O << '.' << ARM64CC::getCondCodeName(CC);
|
||||
O << '.' << ARM64CC::getCondCodeName(CC);
|
||||
}
|
||||
|
||||
void ARM64InstPrinter::printCondCode(const MCInst *MI, unsigned OpNum,
|
||||
|
@ -72,7 +72,7 @@ foo:
|
||||
; CHECK: b.le L1 ; encoding: [0bAAA01101,A,A,0x54]
|
||||
; CHECK: fixup A - offset: 0, value: L1, kind: fixup_arm64_pcrel_imm19
|
||||
b.al L1
|
||||
; CHECK: b L1 ; encoding: [0bAAA01110,A,A,0x54]
|
||||
; CHECK: b.al L1 ; encoding: [0bAAA01110,A,A,0x54]
|
||||
; CHECK: fixup A - offset: 0, value: L1, kind: fixup_arm64_pcrel_imm19
|
||||
L1:
|
||||
b #28
|
||||
|
Loading…
Reference in New Issue
Block a user