diff options
author | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-06-05 18:01:12 +0000 |
---|---|---|
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | 2016-06-05 18:01:12 +0000 |
commit | f90e28d6fdf9b9443ba881d5796391709cfb3c4a (patch) | |
tree | 9cf553f02504eec5705f9a6f0f7a8dac43696f9b /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | |
parent | 0fab306eb5512b34ded62a588c256232c780c09f (diff) | |
download | bcm5719-llvm-f90e28d6fdf9b9443ba881d5796391709cfb3c4a.tar.gz bcm5719-llvm-f90e28d6fdf9b9443ba881d5796391709cfb3c4a.zip |
[IndVars] Remove -liv-reduce
It is an off-by-default option that no one seems to use[0], and given
that SCEV directly understands the overflow instrinsics there is no real
need for it anymore.
[0]: http://lists.llvm.org/pipermail/llvm-dev/2016-April/098181.html
llvm-svn: 271845
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index 0ae179f9c6f..24fc872d7a0 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -68,9 +68,6 @@ static cl::opt<bool> VerifyIndvars( "verify-indvars", cl::Hidden, cl::desc("Verify the ScalarEvolution result after running indvars")); -static cl::opt<bool> ReduceLiveIVs("liv-reduce", cl::Hidden, - cl::desc("Reduce live induction variables.")); - enum ReplaceExitVal { NeverRepl, OnlyCheapRepl, AlwaysRepl }; static cl::opt<ReplaceExitVal> ReplaceExitValue( @@ -1489,8 +1486,6 @@ public: : SE(SCEV), TTI(TTI), IVPhi(IV) { DT = DTree; WI.NarrowIV = IVPhi; - if (ReduceLiveIVs) - setSplitOverflowIntrinsics(); } // Implement the interface used by simplifyUsersOfIV. |