Enable IRCE for narrow latch by defailt

llvm-svn: 352619
This commit is contained in:
Max Kazantsev 2019-01-30 11:25:12 +00:00
parent 6f68048d69
commit 34eeeec3ae
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ static cl::opt<bool> AllowUnsignedLatchCondition("irce-allow-unsigned-latch",
cl::Hidden, cl::init(true));
static cl::opt<bool> 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."));