Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/SILOptimizer/PassManager/PassPipeline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,7 @@ void addFunctionPasses(SILPassPipelinePlan &P,
// of embedded Swift.
if (!P.getOptions().EmbeddedSwift) {
P.addGenericSpecializer();
P.addPackSpecialization();
// P.addPackSpecialization();
// Run devirtualizer after the specializer, because many
// class_method/witness_method instructions may use concrete types now.
P.addDevirtualizer();
Expand Down
1 change: 1 addition & 0 deletions test/SILOptimizer/pack_specialization.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// XFAIL: *
// RUN: %target-swift-frontend %s -emit-ir -O | %FileCheck %s

// REQUIRES: swift_in_compiler
Expand Down