Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-andi.s
blob96a090173bd786eaa7f5e264debb040d45b15eb8
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 andi r16, 255
8 andi r29, 190
9 andi r22, 172
10 andi r27, 92
12 andi r20, BAR
14 ; CHECK: andi r16, 255 ; encoding: [0x0f,0x7f]
15 ; CHECK: andi r29, 190 ; encoding: [0xde,0x7b]
16 ; CHECK: andi r22, 172 ; encoding: [0x6c,0x7a]
17 ; CHECK: andi r27, 92 ; encoding: [0xbc,0x75]
19 ; CHECK: andi r20, BAR ; encoding: [0x40'A',0x70]
20 ; CHECK: ; fixup A - offset: 0, value: BAR, kind: fixup_ldi
22 ; CHECK-INST: andi r16, 255
23 ; CHECK-INST: andi r29, 190
24 ; CHECK-INST: andi r22, 172
25 ; CHECK-INST: andi r27, 92
27 ; CHECK-INST: andi r20, 0