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