projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reapply r165661, Patch by Shuxin Yang <shuxin.llvm@gmail.com>.
[oota-llvm.git]
/
test
/
Linker
/
2006-01-19-ConstantPacked.ll
diff --git
a/test/Linker/2006-01-19-ConstantPacked.ll
b/test/Linker/2006-01-19-ConstantPacked.ll
index 7aa0bc3db7668ad132cc0650b9078e650ab828a8..d2409e20c4d96043a94cbd6a7e47a1fc88313273 100644
(file)
--- a/
test/Linker/2006-01-19-ConstantPacked.ll
+++ b/
test/Linker/2006-01-19-ConstantPacked.ll
@@
-1,15
+1,13
@@
-; RUN: llvm-
upgrade < %s | llvm-as -f -o %s.bc
-; RUN: llvm-link -
f -o %s.linked %s
.bc
+; RUN: llvm-
as %s -o %t1.bc
+; RUN: llvm-link -
o %t2.bc %t1
.bc
-target endian = big
-target pointersize = 32
+target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin7.7.0"
deplibs = [ "c", "crtend" ]
target triple = "powerpc-apple-darwin7.7.0"
deplibs = [ "c", "crtend" ]
-%source = global <4 x int> < int 0, int 1, int 2, int 3 >
+@source = global <4 x i32> < i32 0, i32 1, i32 2, i32 3 > ; <<4 x i32>*> [#uses=0]
-implementation ; Functions:
-
-int %main() {
+define i32 @main() {
entry:
entry:
-
ret int
0
+
ret i32
0
}
}
+