mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01:00
31377eefb4
It tests CallGraph infra around the legacy PM which isn't relevant in NPM.
14 lines
285 B
LLVM
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
|