Skip to content

Commit d945dc4

Browse files
authored
Merge pull request #85491 from aidan-hall/disable-pack-specialization
SILOptimizer: Disable PackSpecialization pass until it has been properly fixed. rdar://164515160
2 parents e621531 + 305a5ef commit d945dc4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/SILOptimizer/PassManager/PassPipeline.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ void addFunctionPasses(SILPassPipelinePlan &P,
527527
// of embedded Swift.
528528
if (!P.getOptions().EmbeddedSwift) {
529529
P.addGenericSpecializer();
530-
P.addPackSpecialization();
530+
// P.addPackSpecialization();
531531
// Run devirtualizer after the specializer, because many
532532
// class_method/witness_method instructions may use concrete types now.
533533
P.addDevirtualizer();

test/SILOptimizer/pack_specialization.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// XFAIL: *
12
// RUN: %target-swift-frontend %s -emit-ir -O | %FileCheck %s
23

34
// REQUIRES: swift_in_compiler

0 commit comments

Comments
 (0)