1; RUN: llc -mtriple thumbv7--windows-itanium -filetype asm -o - %s | FileCheck %s
2
3declare void @llvm.eh.sjlj.longjmp(i8*)
4
5define arm_aapcs_vfpcc void @test___builtin_longjump(i8* %b) {
6entry:
7  tail call void @llvm.eh.sjlj.longjmp(i8* %b)
8  unreachable
9}
10
11; CHECK: push.w  {r11, lr}
12; CHECK: ldr.w   r11, [r0]
13; CHECK: ldr.w   sp, [r0, #8]
14; CHECK: ldr.w   pc, [r0, #4]
15
16