Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-bld.s
blob71352c5c0abd806393b7c3a523e77d045704e445
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s | llvm-objdump --no-print-imm-hex -d - | FileCheck --check-prefix=CHECK-INST %s
5 foo:
7 bld r3, 5
8 bld r1, 1
9 bld r0, 0
10 bld r7, 2
12 ; CHECK: bld r3, 5 ; encoding: [0x35,0xf8]
13 ; CHECK: bld r1, 1 ; encoding: [0x11,0xf8]
14 ; CHECK: bld r0, 0 ; encoding: [0x00,0xf8]
15 ; CHECK: bld r7, 2 ; encoding: [0x72,0xf8]
17 ; CHECK-INST: bld r3, 5
18 ; CHECK-INST: bld r1, 1
19 ; CHECK-INST: bld r0, 0
20 ; CHECK-INST: bld r7, 2