llvm-project/llvm/test/Analysis/CallGraph/do-nothing-intrinsic.ll
Arthur Eubanks e16d10b753 [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