Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-and.s
blobc4d90bfba37477ff1cede9d25adf16c797520b34
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 and r0, r15
8 and r15, r0
9 and r16, r31
10 and r31, r16
12 ; CHECK: and r0, r15 ; encoding: [0x0f,0x20]
13 ; CHECK: and r15, r0 ; encoding: [0xf0,0x20]
14 ; CHECK: and r16, r31 ; encoding: [0x0f,0x23]
15 ; CHECK: and r31, r16 ; encoding: [0xf0,0x23]
17 ; CHECK-INST: and r0, r15
18 ; CHECK-INST: and r15, r0
19 ; CHECK-INST: and r16, r31
20 ; CHECK-INST: and r31, r16