view test/CodeGen/X86/dll-linkage.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children
line wrap: on
line source

; RUN: llc < %s -mtriple=i386-pc-mingw32 | FileCheck %s

; RUN: llc < %s -mtriple=i386-pc-mingw32 -O0 | FileCheck %s -check-prefix=FAST
; PR6275

declare dllimport void @foo()

define void @bar() nounwind {
; CHECK: calll	*__imp__foo
; FAST:  movl   __imp__foo, [[R:%[a-z]{3}]]
; FAST:  calll  *[[R]]
  call void @foo()
  ret void
}