65 lines · plain
1; NOTE: Assertions have been autogenerated by utils/update_test_checks.py UTC_ARGS: --version 52; RUN: opt -S --passes=slp-vectorizer -mtriple=x86_64-pc-windows-msvc19.40.33811 < %s | FileCheck %s3 4%"class.boost::execution_exception" = type { i32, %"class.boost::unit_test::basic_cstring", %"struct.boost::execution_exception::location" }5%"class.boost::unit_test::basic_cstring" = type { ptr, ptr }6%"struct.boost::execution_exception::location" = type { %"class.boost::unit_test::basic_cstring", i64, %"class.boost::unit_test::basic_cstring" }7 8define void @test() personality ptr null {9; CHECK-LABEL: define void @test() personality ptr null {10; CHECK-NEXT: [[ENTRY:.*]]:11; CHECK-NEXT: br label %[[FOR_COND109:.*]]12; CHECK: [[FOR_COND109]]:13; CHECK-NEXT: [[TMP0:%.*]] = phi <2 x ptr> [ zeroinitializer, %[[ENTRY]] ], [ zeroinitializer, %[[IF_END153:.*]] ]14; CHECK-NEXT: br label %[[INIT_ATTEMPT_I664:.*]]15; CHECK: [[INIT_ATTEMPT_I664]]:16; CHECK-NEXT: [[CALL_I666:%.*]] = invoke ptr null(ptr null)17; CHECK-NEXT: to label %[[INVOKE_CONT_I668:.*]] unwind label %[[CATCH_DISPATCH:.*]]18; CHECK: [[INVOKE_CONT_I668]]:19; CHECK-NEXT: ret void20; CHECK: [[CATCH_DISPATCH]]:21; CHECK-NEXT: [[TMP1:%.*]] = catchswitch within none [label %catch] unwind to caller22; CHECK: [[CATCH:.*]]:23; CHECK-NEXT: [[TMP2:%.*]] = catchpad within [[TMP1]] [ptr null, i32 0, ptr null]24; CHECK-NEXT: br i1 false, label %[[IF_END153]], label %[[INVOKE_CONT149:.*]]25; CHECK: [[INVOKE_CONT149]]:26; CHECK-NEXT: [[TMP3:%.*]] = load <2 x ptr>, ptr null, align 827; CHECK-NEXT: br label %[[IF_END153]]28; CHECK: [[IF_END153]]:29; CHECK-NEXT: [[TMP4:%.*]] = phi <2 x ptr> [ [[TMP0]], %[[CATCH]] ], [ [[TMP3]], %[[INVOKE_CONT149]] ]30; CHECK-NEXT: catchret from [[TMP2]] to label %[[FOR_COND109]]31;32entry:33 br label %for.cond10934 35for.cond109:36 %setup_error.sroa.0.1 = phi ptr [ null, %entry ], [ null, %if.end153 ]37 %setup_error.sroa.6.1 = phi ptr [ null, %entry ], [ null, %if.end153 ]38 br label %init.attempt.i66439 40init.attempt.i664:41 %call.i666 = invoke ptr null(ptr null)42 to label %invoke.cont.i668 unwind label %catch.dispatch43 44invoke.cont.i668:45 ret void46 47catch.dispatch:48 %0 = catchswitch within none [label %catch] unwind to caller49 50catch:51 %1 = catchpad within %0 [ptr null, i32 0, ptr null]52 br i1 false, label %if.end153, label %invoke.cont14953 54invoke.cont149:55 %m_begin2.i.i = getelementptr %"class.boost::execution_exception", ptr null, i64 0, i32 1, i32 056 %2 = load ptr, ptr %m_begin2.i.i, align 857 %3 = load ptr, ptr null, align 858 br label %if.end15359 60if.end153:61 %setup_error.sroa.0.2 = phi ptr [ %setup_error.sroa.0.1, %catch ], [ %2, %invoke.cont149 ]62 %setup_error.sroa.6.2 = phi ptr [ %setup_error.sroa.6.1, %catch ], [ %3, %invoke.cont149 ]63 catchret from %1 to label %for.cond10964}65