mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
f762198a61
Many of these tests don't use the output of -analyze.
15 lines
360 B
LLVM
15 lines
360 B
LLVM
; Call graph construction crash: Not handling indirect calls right
|
|
;
|
|
; RUN: opt < %s -analyze -print-callgraph -enable-new-pm=0 > /dev/null 2>&1
|
|
; RUN: opt < %s -passes=print-callgraph > /dev/null 2>&1
|
|
;
|
|
|
|
%FunTy = type i32 (i32)
|
|
|
|
define void @invoke(%FunTy* %x) {
|
|
%foo = call i32 %x( i32 123 ) ; <i32> [#uses=0]
|
|
ret void
|
|
}
|
|
|
|
|