22 lines · plain
1; RUN: llc < %s -mtriple=x86_64-pc-linux -mcpu=corei7 -relocation-model=pic | FileCheck %s2 3; PR275024; UNREACHABLE: "Invalid address displacement operand"5 6@buf = internal global [5 x ptr] zeroinitializer7 8declare i32 @llvm.eh.sjlj.setjmp(ptr) nounwind9 10define i32 @test() nounwind optsize {11 %r = tail call i32 @llvm.eh.sjlj.setjmp(ptr @buf)12 ret i32 %r13; CHECK-LABEL: test:14; CHECK: leaq .LBB0_3(%rip), %r[[REG:[a-z]+]]15; CHECK: movq %r[[REG]], buf+8(%rip)16; CHECK: #EH_SjLj_Setup .LBB0_317; CHECK: xorl %e[[REG]], %e[[REG]]18; CHECK: jmp .LBB0_219; CHECK-LABEL: .LBB0_3: # Block address taken20; CHECK-LABEL: .LBB0_2:21}22