Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-rol.s
blob434505aa88c06ff6cd647976c524840c08ff0c62
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 rol r31
8 rol r25
9 rol r5
10 rol r0
12 ; CHECK: rol r31 ; encoding: [0xff,0x1f]
13 ; CHECK: rol r25 ; encoding: [0x99,0x1f]
14 ; CHECK: rol r5 ; encoding: [0x55,0x1c]
15 ; CHECK: rol r0 ; encoding: [0x00,0x1c]
17 ; CHECK-INST: rol r31
18 ; CHECK-INST: rol r25
19 ; CHECK-INST: rol r5
20 ; CHECK-INST: rol r0