Skip to content

Commit fd86e85

Browse files
authored
Revert "[SILOptimizer] Added MandatoryCombiner."
1 parent be20957 commit fd86e85

File tree

4 files changed

+1
-1068
lines changed

4 files changed

+1
-1068
lines changed

include/swift/SILOptimizer/PassManager/Passes.def

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/// This macro follows the same conventions as PASS(Id, Tag, Description),
3737
/// but is used for IRGen passes which are built outside of the
3838
/// SILOptimizer library.
39-
///
39+
///
4040
/// An IRGen pass is created by IRGen and needs to be registered with the pass
4141
/// manager dynamically.
4242
#ifndef IRGEN_PASS
@@ -312,8 +312,6 @@ PASS(SerializeSILPass, "serialize-sil",
312312
PASS(YieldOnceCheck, "yield-once-check",
313313
"Check correct usage of yields in yield-once coroutines")
314314
PASS(OSLogOptimization, "os-log-optimization", "Optimize os log calls")
315-
PASS(MandatoryCombiner, "mandatory-combiner",
316-
"Perform mandatory peephole combines")
317315
PASS(BugReducerTester, "bug-reducer-tester",
318316
"sil-bug-reducer Tool Testing by Asserting on a Sentinel Function")
319317
PASS_RANGE(AllPasses, AADumper, BugReducerTester)

lib/SILOptimizer/Mandatory/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,5 @@ silopt_register_sources(
2121
SemanticARCOpts.cpp
2222
SILGenCleanup.cpp
2323
YieldOnceCheck.cpp
24-
MandatoryCombiner.cpp
2524
OSLogOptimization.cpp
2625
)

lib/SILOptimizer/Mandatory/MandatoryCombiner.cpp

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

0 commit comments

Comments
 (0)