mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
205b641954
input filename so that opt doesn't print the input filename in the output so that grep lines in the tests don't unintentionally match strings in the input filename. llvm-svn: 81537
14 lines
282 B
LLVM
14 lines
282 B
LLVM
; Call graph construction crash: Not handling indirect calls right
|
|
;
|
|
; RUN: opt < %s -analyze -print-callgraph >& /dev/null
|
|
;
|
|
|
|
%FunTy = type i32 (i32)
|
|
|
|
define void @invoke(%FunTy* %x) {
|
|
%foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
|