Skip to content

Commit d601782

Browse files
committed
[RLE-DSE] Remove EnableGlobalRLE as it is enabled by default now
1 parent 38611f4 commit d601782

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

lib/SILPasses/Scalar/RedundantLoadElimination.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,6 @@
9797

9898
using namespace swift;
9999

100-
static llvm::cl::opt<bool> EnableGlobalRLE("enable-global-redundant-load-elim",
101-
llvm::cl::init(true));
102-
103100
STATISTIC(NumForwardedLoads, "Number of loads forwarded");
104101

105102
//===----------------------------------------------------------------------===//
@@ -989,8 +986,6 @@ class RedundantLoadElimination : public SILFunctionTransform {
989986

990987
/// The entry point to the transformation.
991988
void run() override {
992-
if (!EnableGlobalRLE)
993-
return;
994989
SILFunction *F = getFunction();
995990
DEBUG(llvm::dbgs() << "***** Redundant Load Elimination on function: "
996991
<< F->getName() << " *****\n");

0 commit comments

Comments
 (0)