2016-03-10 23:11:09 +08:00
|
|
|
; RUN: llc -mtriple thumbv7--windows-itanium -filetype asm -o - %s | FileCheck %s
|
|
|
|
|
|
|
|
declare void @llvm.eh.sjlj.longjmp(i8*)
|
|
|
|
|
|
|
|
define arm_aapcs_vfpcc void @test___builtin_longjump(i8* %b) {
|
|
|
|
entry:
|
|
|
|
tail call void @llvm.eh.sjlj.longjmp(i8* %b)
|
|
|
|
unreachable
|
|
|
|
}
|
|
|
|
|
2016-03-11 00:26:37 +08:00
|
|
|
; CHECK: push.w {r11, lr}
|
2016-07-08 08:48:22 +08:00
|
|
|
; CHECK: ldr.w r11, [r0]
|
|
|
|
; CHECK: ldr.w sp, [r0, #8]
|
|
|
|
; CHECK: ldr.w pc, [r0, #4]
|
2016-03-10 23:11:09 +08:00
|
|
|
|