3 // compile-flags: -O -C no-prepopulate-passes
21 // Check that the personality slot alloca gets a lifetime start in each cleanup block, not just
23 // CHECK: [[SLOT:%[0-9]+]] = alloca { i8*, i32 }
24 // CHECK-LABEL: cleanup:
25 // CHECK: [[BITCAST:%[0-9]+]] = bitcast { i8*, i32 }* [[SLOT]] to i8*
26 // CHECK-NEXT: call void @llvm.lifetime.start.{{.*}}({{.*}}, i8* [[BITCAST]])
27 // CHECK-LABEL: cleanup1:
28 // CHECK: [[BITCAST1:%[0-9]+]] = bitcast { i8*, i32 }* [[SLOT]] to i8*
29 // CHECK-NEXT: call void @llvm.lifetime.start.{{.*}}({{.*}}, i8* [[BITCAST1]])