2015-12-01 03:04:19 +08:00
|
|
|
; RUN: llc < %s -verify-coalescing | FileCheck %s
|
|
|
|
target triple = "x86_64-pc-win32"
|
|
|
|
|
|
|
|
@fnptr = external global void ()*
|
|
|
|
|
|
|
|
define void @test1() {
|
|
|
|
entry:
|
|
|
|
%p = load void ()*, void ()** @fnptr
|
|
|
|
tail call void %p()
|
|
|
|
ret void
|
|
|
|
}
|
|
|
|
|
|
|
|
; CHECK-LABEL: test1{{$}}
|
2016-09-23 03:50:05 +08:00
|
|
|
; CHECK-NOT: .seh_proc test1
|
2015-12-01 03:04:19 +08:00
|
|
|
; CHECK: rex64 jmpq *fnptr(%rip)
|
2016-09-23 03:50:05 +08:00
|
|
|
; CHECK-NOT: .seh_endproc
|