1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --check-globals
2 ; RUN: opt < %s -passes=simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S | FileCheck %s
7 define i32 @foo() personality ptr @__gxx_personality_v0 {
10 ; CHECK-NEXT: call void @bar()
11 ; CHECK-NEXT: ret i32 0
15 to label %return unwind label %lpad
21 %lp = landingpad { ptr, i32 }
23 resume { ptr, i32 } %lp
26 declare i32 @__gxx_personality_v0(i32, i64, ptr, ptr)