mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-25 00:24:26 +00:00
SimplifyIV comments and dead argument cleanup.
Remove crufty comments. IVUsers hasn't been used here for a long time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237586 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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");
|
||||
}
|
||||
|
Reference in New Issue
Block a user