projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Ensure CopyToReg nodes are always glued to the call instruction.
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
hidden-vis-4.ll
1
; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s
2
3
@x = common hidden global i32 0 ; <i32*> [#uses=1]
4
5
define i32 @t() nounwind readonly {
6
entry:
7
; CHECK: t:
8
; CHECK: movl _x, %eax
9
; CHECK: .comm _x,4
10
%0 = load i32* @x, align 4 ; <i32> [#uses=1]
11
ret i32 %0
12
}