1 ; RUN: llc < %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-windows-msvc18.0.0"
5 define void @f() personality i8* bitcast (i32 (...)* @__CxxFrameHandler3 to i8*) {
8 to label %try.cont unwind label %catch.dispatch
10 catch.dispatch: ; preds = %entry
11 %cs1 = catchswitch within none [label %catch] unwind to caller
13 catch: ; preds = %catch.dispatch
14 %0 = catchpad within %cs1 [i8* null, i32 64, i8* null]
15 catchret from %0 to label %try.cont
17 try.cont: ; preds = %entry, %catch
18 %b.0 = phi i1 [ false, %catch ], [ true, %entry ]
19 tail call void @h(i1 zeroext %b.0)
29 declare i32 @__CxxFrameHandler3(...)
31 declare void @h(i1 zeroext)