projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This file is empty.
[oota-llvm.git]
/
test
/
Linker
/
2003-11-18-TypeResolution.ll
diff --git
a/test/Linker/2003-11-18-TypeResolution.ll
b/test/Linker/2003-11-18-TypeResolution.ll
index 07af9697c77bea6c51e35da1536f6e05c31e4b76..d3152eda8e986a2bb883f183672756a2cebdcdcf 100644
(file)
--- a/
test/Linker/2003-11-18-TypeResolution.ll
+++ b/
test/Linker/2003-11-18-TypeResolution.ll
@@
-4,19
+4,16
@@
; little symbol table. This is causing llvm-link to die, at no fault of its
; own.
; little symbol table. This is causing llvm-link to die, at no fault of its
; own.
-; RUN: llvm-
upgrade %s | llvm-a
s > %t.out2.bc
+; RUN: llvm-
as < %
s > %t.out2.bc
; RUN: echo "%T1 = type opaque @GVar = external global %T1*" | llvm-as > %t.out1.bc
; RUN: echo "%T1 = type opaque @GVar = external global %T1*" | llvm-as > %t.out1.bc
-; RUN: llvm-link %t.out
[12]
.bc
+; RUN: llvm-link %t.out
1.bc %t.out2
.bc
- %T1 = type opaque
- %T2 = type int
+%T1 = type opaque
+%T2 = type i32
+@GVar = global i32* null ; <i32**> [#uses=0]
-%GVar = global %T2 * null
-
-implementation
-
-void %foo(%T2 * %X) {
- %X = cast %T2* %X to %T1 *
+define void @foo(i32* %X) {
+ %X.upgrd.1 = bitcast i32* %X to %T1* ; <%T1*> [#uses=0]
ret void
}
ret void
}