1; RUN: llvm-mc -triple avr -show-encoding < %s | FileCheck %s 2; RUN: llvm-mc -filetype=obj -triple avr < %s \ 3; RUN: | llvm-objdump -dr - | FileCheck --check-prefix=INST %s 4 5foo: 6 brbs 3, .+8 7 brbs 0, .-12 8 .short 0xf359 9 .short 0xf352 10 .short 0xf34c 11 .short 0xf077 12 13; CHECK: brvs (.Ltmp0+8)+2 ; encoding: [0bAAAAA011,0b111100AA] 14; CHECK-NEXT: ; fixup A - offset: 0, value: (.Ltmp0+8)+2, kind: fixup_7_pcrel 15; CHECK: brcs (.Ltmp1-12)+2 ; encoding: [0bAAAAA000,0b111100AA] 16; CHECK-NEXT: ; fixup A - offset: 0, value: (.Ltmp1-12)+2, kind: fixup_7_pcrel 17 18; INST-LABEL: <foo>: 19; INST-NEXT: 23 f0 brvs .+8 20; INST-NEXT: d0 f3 brlo .-12 21; INST-NEXT: 59 f3 breq .-42 22; INST-NEXT: 52 f3 brmi .-44 23; INST-NEXT: 4c f3 brlt .-46 24; INST-NEXT: 77 f0 brie .+28 25