Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-ror.s
blobca7a90f81f9718e64ee18ba1bf654fbc71e5f229
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 ror r31
8 ror r25
9 ror r5
10 ror r0
12 ; CHECK: ror r31 ; encoding: [0xf7,0x95]
13 ; CHECK: ror r25 ; encoding: [0x97,0x95]
14 ; CHECK: ror r5 ; encoding: [0x57,0x94]
15 ; CHECK: ror r0 ; encoding: [0x07,0x94]
17 ; CHECK-INST: ror r31
18 ; CHECK-INST: ror r25
19 ; CHECK-INST: ror r5
20 ; CHECK-INST: ror r0