diff options
author | Andrew Trick <atrick@apple.com> | 2015-05-18 16:49:31 +0000 |
---|---|---|
committer | Andrew Trick <atrick@apple.com> | 2015-05-18 16:49:31 +0000 |
commit | 018e55a18751000a153d4bd3ed4637970fb6f03e (patch) | |
tree | 4d090ef0b474cad29396a87b72ceae6d357ee40e /llvm/lib/Transforms/Utils | |
parent | c49e78851cbb665bce954f68ac202ef25626d5a1 (diff) | |
download | bcm5719-llvm-018e55a18751000a153d4bd3ed4637970fb6f03e.tar.gz bcm5719-llvm-018e55a18751000a153d4bd3ed4637970fb6f03e.zip |
SimplifyIV comments and dead argument cleanup.
Remove crufty comments. IVUsers hasn't been used here for a long time.
llvm-svn: 237586
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-rw-r--r-- | llvm/lib/Transforms/Utils/SimplifyIndVar.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp index 8bfc5fbca6f..3757a801d64 100644 --- a/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp +++ b/llvm/lib/Transforms/Utils/SimplifyIndVar.cpp @@ -17,7 +17,6 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/SmallVector.h" #include "llvm/ADT/Statistic.h" -#include "llvm/Analysis/IVUsers.h" #include "llvm/Analysis/LoopInfo.h" #include "llvm/Analysis/LoopPass.h" #include "llvm/Analysis/ScalarEvolutionExpressions.h" @@ -55,7 +54,7 @@ namespace { public: SimplifyIndvar(Loop *Loop, ScalarEvolution *SE, LoopInfo *LI, - SmallVectorImpl<WeakVH> &Dead, IVUsers *IVU = nullptr) + SmallVectorImpl<WeakVH> &Dead) : L(Loop), LI(LI), SE(SE), DeadInsts(Dead), Changed(false) { assert(LI && "IV simplification requires LoopInfo"); } |