summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/coalescer-win64.ll
blob: ff084ae5b9e0e47d7f3ab67a784650472b457776 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; 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{{$}}
; CHECK: .seh_proc test1{{$}}
; CHECK: rex64 jmpq *fnptr(%rip)
; CHECK: .seh_endproc
OpenPOWER on IntegriCloud