1 ; RUN: opt -simplifycfg -simplifycfg-require-and-preserve-domtree=1 -S < %s | FileCheck %s
2 target datalayout = "e-m:x-p:32:32-i64:64-f80:32-n8:16:32-a:0:32-S32"
3 target triple = "i686-pc-win32"
5 declare i32 @__CxxFrameHandler3(...)
9 define void @fn_1(i1 %B) personality i32 (...)* @__CxxFrameHandler3 {
11 br i1 %B, label %__Ea.exit, label %lor.lhs.false.i.i
14 br i1 %B, label %if.end.i.i, label %__Ea.exit
18 to label %__Ea.exit unwind label %ehcleanup.i
21 %t4 = cleanuppad within none []
22 br label %arraydestroy.body.i
25 %gep = getelementptr i8, i8* null, i32 -1
29 br i1 %B, label %arraydestroy.done3.i, label %arraydestroy.body.i
32 cleanupret from %t4 unwind to caller
38 ; CHECK-LABEL: define void @fn_1(
40 ; CHECK-NEXT: ret void