Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-com.s
blob43e3b0a96ccd767812ad9472ce2cd6dcfafc47b2
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump -d - | FileCheck -check-prefix=CHECK-INST %s
5 foo:
7 com r30
8 com r17
9 com r4
10 com r0
12 ; CHECK: com r30 ; encoding: [0xe0,0x95]
13 ; CHECK: com r17 ; encoding: [0x10,0x95]
14 ; CHECK: com r4 ; encoding: [0x40,0x94]
15 ; CHECK: com r0 ; encoding: [0x00,0x94]
17 ; CHECK-INST: com r30
18 ; CHECK-INST: com r17
19 ; CHECK-INST: com r4
20 ; CHECK-INST: com r0