Skip to content

Commit 66621d8

Browse files
committed
Optimizer: temporarily disable AccessPathVerification in the late pipeline.
It triggers a false alarm when building SwiftDocC on linux rdar://141270464
1 parent 1eb0ad2 commit 66621d8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/SILOptimizer/PassManager/PassPipeline.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -888,7 +888,10 @@ static void addLastChanceOptPassPipeline(SILPassPipelinePlan &P) {
888888

889889
// Verify AccessStorage once again after optimizing and lowering OSSA.
890890
#ifndef NDEBUG
891-
P.addAccessPathVerification();
891+
// Temporarily disabled because it triggers a false alarm when building
892+
// SwiftDocC on linux: rdar://141270464
893+
// TODO: re-enable when the problem is fixed.
894+
// P.addAccessPathVerification();
892895
#endif
893896

894897
// Only has an effect if the -assume-single-thread option is specified.

0 commit comments

Comments
 (0)