forked from OSchip/llvm-project
Enable redundant phi elimination after LSR.
This will be more important as we extend the LSR pass in ways that don't rely on the formula solver. In particular, we need it for constructing IV chains. llvm-svn: 147724
This commit is contained in:
parent
73a040906d
commit
06f6c05d08
|
@ -86,8 +86,10 @@ static cl::opt<bool> EnableRetry(
|
|||
// Temporary flag to cleanup congruent phis after LSR phi expansion.
|
||||
// It's currently disabled until we can determine whether it's truly useful or
|
||||
// not. The flag should be removed after the v3.0 release.
|
||||
// This is now needed for ivchains.
|
||||
static cl::opt<bool> EnablePhiElim(
|
||||
"enable-lsr-phielim", cl::Hidden, cl::desc("Enable LSR phi elimination"));
|
||||
"enable-lsr-phielim", cl::Hidden, cl::init(true),
|
||||
cl::desc("Enable LSR phi elimination"));
|
||||
|
||||
namespace {
|
||||
|
||||
|
|
Loading…
Reference in New Issue