1 # RUN: not llc -march=x86-64 -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
6 @addr = global i8* null
10 store volatile i8* blockaddress(@test, %block), i8** @addr
11 %val = load volatile i8*, i8** @addr
12 indirectbr i8* %val, [label %block]
23 successors: %bb.1.block
24 ; CHECK: [[@LINE+1]]:51: expected an IR block reference
25 $rax = LEA64r $rip, 1, _, blockaddress(@test, _), _
26 MOV64mr $rip, 1, _, @addr, _, killed $rax
27 JMP64m $rip, 1, _, @addr, _
29 bb.1.block (ir-block-address-taken %ir-block.block):