mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
a62270de2c
The reversion apparently deleted the test/Transforms directory. Will be re-reverting again. llvm-svn: 358552
23 lines
576 B
LLVM
23 lines
576 B
LLVM
; RUN: opt < %s -adce -disable-output
|
|
|
|
define void @test() personality i32 (...)* @__gxx_personality_v0 {
|
|
br i1 false, label %then, label %endif
|
|
|
|
then: ; preds = %0
|
|
invoke void null( i8* null )
|
|
to label %invoke_cont unwind label %invoke_catch
|
|
|
|
invoke_catch: ; preds = %then
|
|
%exn = landingpad {i8*, i32}
|
|
cleanup
|
|
resume { i8*, i32 } %exn
|
|
|
|
invoke_cont: ; preds = %then
|
|
ret void
|
|
|
|
endif: ; preds = %0
|
|
ret void
|
|
}
|
|
|
|
declare i32 @__gxx_personality_v0(...)
|