Skip to content

Commit fe4eff9

Browse files
[SILOpt] Turn off PruneVTables.
Fixes rdar://73638176.
1 parent bc3f986 commit fe4eff9

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
@@ -690,7 +690,8 @@ static void addLastChanceOptPassPipeline(SILPassPipelinePlan &P) {
690690
// Only has an effect if opt-remark is enabled.
691691
P.addOptRemarkGenerator();
692692

693-
P.addPruneVTables();
693+
// FIXME: rdar://72935649 (Miscompile on combining PruneVTables with WMO)
694+
// P.addPruneVTables();
694695
}
695696

696697
static void addSILDebugInfoGeneratorPipeline(SILPassPipelinePlan &P) {

0 commit comments

Comments
 (0)