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