diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-21 05:55:13 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-21 05:55:13 +0000 |
commit | 71b7b68b741a29c473479c64dbaca00b94e316ab (patch) | |
tree | a58f96876f8c68648a8dfc5b536685dc5890c041 /llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | |
parent | 5d1aeba2ea7ff1976b85a57d0591b97fd6e33ae0 (diff) | |
download | bcm5719-llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.tar.gz bcm5719-llvm-71b7b68b741a29c473479c64dbaca00b94e316ab.zip |
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 216158
Diffstat (limited to 'llvm/lib/Transforms/Scalar/IndVarSimplify.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/IndVarSimplify.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp index e83a5c421b4..bf19038b1ec 100644 --- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp +++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp @@ -1200,7 +1200,7 @@ void IndVarSimplify::SimplifyAndExtend(Loop *L, /// BackedgeTakenInfo. If these expressions have not been reduced, then /// expanding them may incur additional cost (albeit in the loop preheader). static bool isHighCostExpansion(const SCEV *S, BranchInst *BI, - SmallPtrSet<const SCEV*, 8> &Processed, + SmallPtrSetImpl<const SCEV*> &Processed, ScalarEvolution *SE) { if (!Processed.insert(S)) return false; @@ -1373,7 +1373,7 @@ static bool needsLFTR(Loop *L, DominatorTree *DT) { /// Recursive helper for hasConcreteDef(). Unfortunately, this currently boils /// down to checking that all operands are constant and listing instructions /// that may hide undef. -static bool hasConcreteDefImpl(Value *V, SmallPtrSet<Value*, 8> &Visited, +static bool hasConcreteDefImpl(Value *V, SmallPtrSetImpl<Value*> &Visited, unsigned Depth) { if (isa<Constant>(V)) return !isa<UndefValue>(V); |