• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -mtriple=i386-pc-mingw32 | FileCheck %s
2
3; RUN: llc < %s -mtriple=i386-pc-mingw32 -O0 | FileCheck %s -check-prefix=FAST
4; PR6275
5
6declare dllimport void @foo()
7
8define void @bar() nounwind {
9; CHECK: calll	*__imp__foo
10; FAST:  movl   __imp__foo, [[R:%[a-z]{3}]]
11; FAST:  calll  *[[R]]
12  call void @foo()
13  ret void
14}
15