Merging r261039:
[oota-llvm.git] / test / CodeGen / X86 / coalescer-win64.ll
1 ; RUN: llc < %s -verify-coalescing | FileCheck %s
2 target triple = "x86_64-pc-win32"
3
4 @fnptr = external global void ()*
5
6 define void @test1() {
7 entry:
8   %p = load void ()*, void ()** @fnptr
9   tail call void %p()
10   ret void
11 }
12
13 ; CHECK-LABEL: test1{{$}}
14 ; CHECK: .seh_proc test1{{$}}
15 ; CHECK: rex64 jmpq *fnptr(%rip)
16 ; CHECK: .seh_endproc