Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-clr.s
blobd5966ae8e0953da8cbdc0425901957db04931fe2
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 clr r2
8 clr r12
9 clr r5
10 clr r0
12 ; CHECK: clr r2 ; encoding: [0x22,0x24]
13 ; CHECK: clr r12 ; encoding: [0xcc,0x24]
14 ; CHECK: clr r5 ; encoding: [0x55,0x24]
15 ; CHECK: clr r0 ; encoding: [0x00,0x24]
17 ; CHECK-INST: clr r2
18 ; CHECK-INST: clr r12
19 ; CHECK-INST: clr r5
20 ; CHECK-INST: clr r0