projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Two sets of changes. Sorry they are intermingled.
[oota-llvm.git]
/
test
/
Other
/
2002-01-31-CallGraph.ll
diff --git
a/test/Other/2002-01-31-CallGraph.ll
b/test/Other/2002-01-31-CallGraph.ll
index 2609e45eaea82212a77a3d0f33a00c209dc7bf38..0e4c877512631a73efa9d16cfc4579ef58430ed9 100644
(file)
--- a/
test/Other/2002-01-31-CallGraph.ll
+++ b/
test/Other/2002-01-31-CallGraph.ll
@@
-1,15
+1,13
@@
; Call graph construction crash: Not handling indirect calls right
;
; Call graph construction crash: Not handling indirect calls right
;
-; RUN: opt
-analyze -callgraph %s
+; RUN: opt
< %s -analyze -print-callgraph >& /dev/null
;
;
-
%FunTy = type int(int
)
+
%FunTy = type i32 (i32
)
-implementation
+define void @invoke(%FunTy* %x) {
+ %foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
+ ret void
+}
-void "invoke"(%FunTy *%x)
-begin
- %foo = call %FunTy* %x(int 123)
- ret void
-end