@@ -601,19 +601,19 @@ all of the new IR instructions:
601601
602602 .. code-block :: text
603603
604- define i32 @f() nounwind personality i32 (...)* @__CxxFrameHandler3 {
604+ define i32 @f() nounwind personality ptr @__CxxFrameHandler3 {
605605 entry:
606606 %obj = alloca %struct.Cleanup, align 4
607607 %e = alloca i32, align 4
608- %call = invoke %struct.Cleanup* @"??0Cleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj)
608+ %call = invoke ptr @"??0Cleanup@@QEAA@XZ"(ptr nonnull %obj)
609609 to label %invoke.cont unwind label %lpad.catch
610610
611611 invoke.cont: ; preds = %entry
612612 invoke void @"?may_throw@@YAXXZ"()
613613 to label %invoke.cont.2 unwind label %lpad.cleanup
614614
615615 invoke.cont.2: ; preds = %invoke.cont
616- call void @"??_DCleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj) nounwind
616+ call void @"??_DCleanup@@QEAA@XZ"(ptr nonnull %obj) nounwind
617617 br label %return
618618
619619 return: ; preds = %invoke.cont.3, %invoke.cont.2
@@ -622,24 +622,24 @@ all of the new IR instructions:
622622
623623 lpad.cleanup: ; preds = %invoke.cont.2
624624 %0 = cleanuppad within none []
625- call void @"??1Cleanup@@QEAA@XZ"(%struct.Cleanup* nonnull %obj) nounwind
626- cleanupret %0 unwind label %lpad.catch
625+ call void @"??1Cleanup@@QEAA@XZ"(ptr nonnull %obj) nounwind
626+ cleanupret from %0 unwind label %lpad.catch
627627
628628 lpad.catch: ; preds = %lpad.cleanup, %entry
629629 %1 = catchswitch within none [label %catch.body] unwind label %lpad.terminate
630630
631631 catch.body: ; preds = %lpad.catch
632- %catch = catchpad within %1 [%rtti.TypeDescriptor2* @"??_R0H@8", i32 0, i32* %e]
632+ %catch = catchpad within %1 [ptr @"??_R0H@8", i32 0, ptr %e]
633633 invoke void @"?may_throw@@YAXXZ"()
634634 to label %invoke.cont.3 unwind label %lpad.terminate
635635
636636 invoke.cont.3: ; preds = %catch.body
637- %3 = load i32, i32* %e, align 4
637+ %3 = load i32, ptr %e, align 4
638638 catchret from %catch to label %return
639639
640640 lpad.terminate: ; preds = %catch.body, %lpad.catch
641641 cleanuppad within none []
642- call void @"?terminate@@YAXXZ"
642+ call void @"?terminate@@YAXXZ"()
643643 unreachable
644644 }
645645
0 commit comments