Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-adc.s
blobd1157bc7a9b3ba7d8bc9a20f0e75084515b909ec
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 adc r0, r15
8 adc r15, r0
9 adc r16, r31
10 adc r31, r16
12 ; CHECK: adc r0, r15 ; encoding: [0x0f,0x1c]
13 ; CHECK: adc r15, r0 ; encoding: [0xf0,0x1c]
14 ; CHECK: adc r16, r31 ; encoding: [0x0f,0x1f]
15 ; CHECK: adc r31, r16 ; encoding: [0xf0,0x1f]
17 ; CHECK-INST: adc r0, r15
18 ; CHECK-INST: adc r15, r0
19 ; CHECK-INST: adc r16, r31
20 ; CHECK-INST: adc r31, r16