Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-sbci.s
blob4994cf15d95c6222edb328893e28f109039d8378
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump --no-print-imm-hex -d - | FileCheck --check-prefix=CHECK-INST %s
5 foo:
7 sbci r17, 21
8 sbci r23, 196
9 sbci r30, 244
10 sbci r19, 16
11 sbci r22, FOO
13 ; CHECK: sbci r17, 21 ; encoding: [0x15,0x41]
14 ; CHECK: sbci r23, 196 ; encoding: [0x74,0x4c]
15 ; CHECK: sbci r30, 244 ; encoding: [0xe4,0x4f]
16 ; CHECK: sbci r19, 16 ; encoding: [0x30,0x41]
18 ; CHECK: sbci r22, FOO ; encoding: [0x60'A',0x40]
19 ; CHECK: ; fixup A - offset: 0, value: FOO, kind: fixup_ldi
21 ; CHECK-INST: sbci r17, 21
22 ; CHECK-INST: sbci r23, 196
23 ; CHECK-INST: sbci r30, 244
24 ; CHECK-INST: sbci r19, 16
25 ; CHECK-INST: sbci r22, 0