projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SCEVRewriter: Optionally interpret constants in value map as SCEVConstant
[oota-llvm.git]
/
test
/
Other
/
2004-08-16-PackedGlobalConstant.ll
diff --git
a/test/Other/2004-08-16-PackedGlobalConstant.ll
b/test/Other/2004-08-16-PackedGlobalConstant.ll
index 01b0d5dd4050b6d9b5ffb18117254879290802af..9130ccba17368c0c188d92751314794a9a946ece 100644
(file)
--- a/
test/Other/2004-08-16-PackedGlobalConstant.ll
+++ b/
test/Other/2004-08-16-PackedGlobalConstant.ll
@@
-1,13
+1,11
@@
-; RUN: llvm-
upgrade < %s | llvm-a
s | llvm-dis
+; RUN: llvm-
as < %
s | llvm-dis
-%foo = global <2 x int> <int 0, int 1>;
-%bar = uninitialized global <2 x int>;
+@foo = global <2 x i32> < i32 0, i32 1 > ; <<2 x i32>*> [#uses=1]
+@bar = external global <2 x i32> ; <<2 x i32>*> [#uses=1]
-implementation ; Functions:
+define void @main() {
+ %t0 = load <2 x i32>* @foo ; <<2 x i32>> [#uses=1]
+ store <2 x i32> %t0, <2 x i32>* @bar
+ ret void
+}
-void %main()
-{
- %t0 = load <2 x int>* %foo;
- store <2 x int> %t0, <2 x int>* %bar
- ret void
-}
\ No newline at end of file