Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AVR / inst-brbs.s
blob7987feeec654a1ba1ef56fa8799ad020da29e9d6
1 ; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s
2 ; RUN: llvm-mc -filetype=obj -triple avr < %s \
3 ; RUN: | llvm-objdump -d - | FileCheck --check-prefix=INST %s
5 foo:
7 brbs 3, .+8
8 brbs 0, .-12
9 .short 0xf359
10 .short 0xf352
11 .short 0xf34c
12 .short 0xf077
14 ; CHECK: brvs .Ltmp0+8 ; encoding: [0bAAAAA011,0b111100AA]
15 ; CHECK: ; fixup A - offset: 0, value: .Ltmp0+8, kind: fixup_7_pcrel
16 ; CHECK: brcs .Ltmp1-12 ; encoding: [0bAAAAA000,0b111100AA]
17 ; CHECK: ; fixup A - offset: 0, value: .Ltmp1-12, kind: fixup_7_pcrel
19 ; INST: 23 f0 brvs .+8
20 ; INST: d0 f3 brlo .-12
21 ; INST: 59 f3 breq .-42
22 ; INST: 52 f3 brmi .-44
23 ; INST: 4c f3 brlt .-46
24 ; INST: 77 f0 brie .+28