bolt/deps/llvm-18.1.8/llvm/test/Analysis/CallGraph/do-nothing-intrinsic.ll
2025-02-14 19:21:04 +01:00

13 lines
288 B
LLVM

; RUN: opt < %s -passes='require<callgraph>'
; 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