Skip to content

Commit 4f27c83

Browse files
committed
Remove the old (and now obsolete) PredictableMemoryAccessOptimizations pass
1 parent 1042ab1 commit 4f27c83

File tree

3 files changed

+0
-827
lines changed

3 files changed

+0
-827
lines changed

Diff for: include/swift/SILOptimizer/PassManager/Passes.def

-2
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,6 @@ PASS(PerformanceConstantPropagation, "performance-constant-propagation",
353353
"Constant Propagation for Performance without Diagnostics")
354354
PASS(PerformanceDiagnostics, "performance-diagnostics",
355355
"Constant Propagation for Performance without Diagnostics")
356-
PASS(PredictableMemoryAccessOptimizations, "predictable-memaccess-opts",
357-
"Predictable Memory Access Optimizations for Diagnostics")
358356
PASS(PredictableDeadAllocationElimination, "predictable-deadalloc-elim",
359357
"Eliminate dead temporary allocations after diagnostics")
360358
PASS(RedundantPhiElimination, "redundant-phi-elimination",

Diff for: include/swift/SILOptimizer/Utils/InstOptUtils.h

-5
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,6 @@ bool tryEliminateOnlyOwnershipUsedForwardingInst(
590590
IntegerLiteralInst *optimizeBuiltinCanBeObjCClass(BuiltinInst *bi,
591591
SILBuilder &builder);
592592

593-
/// Performs "predictable" memory access optimizations.
594-
///
595-
/// See the PredictableMemoryAccessOptimizations pass.
596-
bool optimizeMemoryAccesses(SILFunction *fn);
597-
598593
/// Performs "predictable" dead allocation optimizations.
599594
///
600595
/// See the PredictableDeadAllocationElimination pass.

0 commit comments

Comments
 (0)