Skip to content

Commit 3f075df

Browse files
committed
Remove function signature rewriter.
We decided to use the inliner to rewrite the caller's callsites. And eventually I will turn FunctionSignatureAnalysis into a Utility. As its data should only be used and kept in the cloner pass.
1 parent 2a63907 commit 3f075df

File tree

3 files changed

+0
-244
lines changed

3 files changed

+0
-244
lines changed

include/swift/SILOptimizer/PassManager/Passes.def

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,6 @@ PASS(FunctionOrderPrinter, "function-order-printer",
106106
"Print function orderings for test purposes")
107107
PASS(FunctionSignatureOptCloner, "function-signature-opt-cloner",
108108
"Create function with optimized signatures")
109-
PASS(FunctionSignatureOptRewriter, "function-signature-opt-rewriter",
110-
"Optimize Function Signatures by rewriting callsites")
111109
PASS(ARCSequenceOpts, "arc-sequence-opts",
112110
"Optimize sequences of retain/release opts by removing redundant inner "
113111
"retain/release sequences")

lib/SILOptimizer/Transforms/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ set(TRANSFORMS_SOURCES
99
Transforms/DeadStoreElimination.cpp
1010
Transforms/Devirtualizer.cpp
1111
Transforms/FunctionSignatureOptCloner.cpp
12-
Transforms/FunctionSignatureOptRewriter.cpp
1312
Transforms/GenericSpecializer.cpp
1413
Transforms/MergeCondFail.cpp
1514
Transforms/PerformanceInliner.cpp

lib/SILOptimizer/Transforms/FunctionSignatureOptRewriter.cpp

Lines changed: 0 additions & 241 deletions
This file was deleted.

0 commit comments

Comments
 (0)