Skip to content

Commit e00ef28

Browse files
[SILOpt] Turn off PruneVTables.
Fixes rdar://73638176.
1 parent 61aba8d commit e00ef28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/SILOptimizer/PassManager/PassPipeline.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,8 @@ static void addLastChanceOptPassPipeline(SILPassPipelinePlan &P) {
700700
// Only has an effect if opt-remark is enabled.
701701
P.addOptRemarkGenerator();
702702

703-
P.addPruneVTables();
703+
// FIXME: rdar://72935649 (Miscompile on combining PruneVTables with WMO)
704+
// P.addPruneVTables();
704705
}
705706

706707
static void addSILDebugInfoGeneratorPipeline(SILPassPipelinePlan &P) {

0 commit comments

Comments
 (0)