projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
adjust for asmprinter change.
[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 61c1277d6420e9d39cb41c17e78b51c55c224b62..bb4c23e8779c1f718f675f1f47c7790f1faffe89 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: llvm-
upgrade < %s | llvm-as | opt -analyze -callgraph
+; RUN: llvm-
as < %s | opt -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