~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to test/CodeGen/X86/dll-linkage.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-03-29 19:09:51 UTC
  • Revision ID: package-import@ubuntu.com-20120329190951-aq83ivog4cg8bxun
Tags: upstream-3.1~svn153643
ImportĀ upstreamĀ versionĀ 3.1~svn153643

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
 
6
declare dllimport void @foo()
 
7
 
 
8
define 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
}