Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-push.s
blobd5601b84e3cd1e63800d6a7da670cacdef9e5418
1 ; RUN: llvm-mc -triple avr -mattr=sram -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr -mattr=sram < %s | llvm-objdump -d --mattr=sram - | FileCheck -check-prefix=CHECK-INST %s
5 foo:
7 push r31
8 push r25
9 push r5
10 push r0
12 ; CHECK: push r31 ; encoding: [0xff,0x93]
13 ; CHECK: push r25 ; encoding: [0x9f,0x93]
14 ; CHECK: push r5 ; encoding: [0x5f,0x92]
15 ; CHECK: push r0 ; encoding: [0x0f,0x92]
17 ; CHECK-INST: push r31
18 ; CHECK-INST: push r25
19 ; CHECK-INST: push r5
20 ; CHECK-INST: push r0