mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-06 21:05:51 +00:00
44401b7c80
teach the callgraph logic to not create callgraph edges to intrinsics for invoke instructions; it already skips this for call instructions. Fixes PR13903. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164707 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
268 B
LLVM
14 lines
268 B
LLVM
; RUN: opt < %s -basiccg
|
|
; PR13903
|
|
|
|
define void @main() {
|
|
invoke void @llvm.donothing()
|
|
to label %ret unwind label %unw
|
|
unw:
|
|
%tmp = landingpad i8 personality i8 0 cleanup
|
|
br label %ret
|
|
ret:
|
|
ret void
|
|
}
|
|
declare void @llvm.donothing() nounwind readnone
|