Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-lac.s
blobe20998c74c134726ab87d371820dbb34d6cbb0bc
1 ; RUN: llvm-mc -triple avr -mattr=rmw -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr -mattr=rmw < %s | llvm-objdump -d --mattr=rmw - | FileCheck -check-prefix=CHECK-INST %s
5 foo:
7 lac Z, r13
8 lac Z, r0
9 lac Z, r31
10 lac Z, r3
12 ; CHECK: lac Z, r13 ; encoding: [0xd6,0x92]
13 ; CHECK: lac Z, r0 ; encoding: [0x06,0x92]
14 ; CHECK: lac Z, r31 ; encoding: [0xf6,0x93]
15 ; CHECK: lac Z, r3 ; encoding: [0x36,0x92]
17 ; CHECK-INST: lac Z, r13
18 ; CHECK-INST: lac Z, r0
19 ; CHECK-INST: lac Z, r31
20 ; CHECK-INST: lac Z, r3