projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Expand PPC64 atomic load and store
[oota-llvm.git]
/
test
/
CodeGen
/
X86
/
hidden-vis-4.ll
diff --git
a/test/CodeGen/X86/hidden-vis-4.ll
b/test/CodeGen/X86/hidden-vis-4.ll
index e6936de1036074102d527369d0c161029cdc9257..a8aede52accdf154592cf8a7a50481dad8c0cb75 100644
(file)
--- a/
test/CodeGen/X86/hidden-vis-4.ll
+++ b/
test/CodeGen/X86/hidden-vis-4.ll
@@
-1,11
+1,12
@@
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep non_lazy_ptr
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep long
-; RUN: llvm-as < %s | llc -mtriple=i386-apple-darwin9 | grep comm
+; RUN: llc < %s -mtriple=i386-apple-darwin9 | FileCheck %s
@x = common hidden global i32 0 ; <i32*> [#uses=1]
define i32 @t() nounwind readonly {
entry:
@x = common hidden global i32 0 ; <i32*> [#uses=1]
define i32 @t() nounwind readonly {
entry:
+; CHECK: t:
+; CHECK: movl _x, %eax
+; CHECK: .comm _x,4
%0 = load i32* @x, align 4 ; <i32> [#uses=1]
ret i32 %0
}
%0 = load i32* @x, align 4 ; <i32> [#uses=1]
ret i32 %0
}