1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/Analysis/CallGraph/do-nothing-intrinsic.ll
Arthur Eubanks 31377eefb4 [test][NewPM] Pin do-nothing-intrinsic.ll to legacy PM
It tests CallGraph infra around the legacy PM which isn't relevant in NPM.
2020-09-22 11:33:38 -07:00

14 lines
285 B
LLVM

; RUN: opt < %s -basiccg -enable-new-pm=0
; PR13903
define void @main() personality i8 0 {
invoke void @llvm.donothing()
to label %ret unwind label %unw
unw:
%tmp = landingpad i8 cleanup
br label %ret
ret:
ret void
}
declare void @llvm.donothing() nounwind readnone