From 431f5d79d89f350ab215a948c24849ff9eb122c7 Mon Sep 17 00:00:00 2001 From: Max Kazantsev Date: Wed, 30 Jan 2019 11:25:12 +0000 Subject: [PATCH] Enable IRCE for narrow latch by defailt git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@352619 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp b/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp index 2c582ca90f6..f89b8e498f7 100644 --- a/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp +++ b/lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp @@ -116,7 +116,7 @@ static cl::opt AllowUnsignedLatchCondition("irce-allow-unsigned-latch", cl::Hidden, cl::init(true)); static cl::opt AllowNarrowLatchCondition( - "irce-allow-narrow-latch", cl::Hidden, cl::init(false), + "irce-allow-narrow-latch", cl::Hidden, cl::init(true), cl::desc("If set to true, IRCE may eliminate wide range checks in loops " "with narrow latch condition.")); -- 2.40.0