summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ConstantFolding.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-18 00:24:38 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-18 00:24:38 +0000
commit6230691c9186e95cd19dff07074a54fb70719957 (patch)
tree6bdcca9e44f1549b7264e61c4e15185dbcd0ec10 /llvm/lib/Analysis/ConstantFolding.cpp
parent4dd9b43c8d42f79fb5b7f11e2f331016cdddb929 (diff)
downloadbcm5719-llvm-6230691c9186e95cd19dff07074a54fb70719957.tar.gz
bcm5719-llvm-6230691c9186e95cd19dff07074a54fb70719957.zip
Revert "Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size."
Getting a weird buildbot failure that I need to investigate. llvm-svn: 215870
Diffstat (limited to 'llvm/lib/Analysis/ConstantFolding.cpp')
-rw-r--r--llvm/lib/Analysis/ConstantFolding.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ConstantFolding.cpp b/llvm/lib/Analysis/ConstantFolding.cpp
index 88e255832f1..8dc94219027 100644
--- a/llvm/lib/Analysis/ConstantFolding.cpp
+++ b/llvm/lib/Analysis/ConstantFolding.cpp
@@ -967,7 +967,7 @@ Constant *llvm::ConstantFoldInstruction(Instruction *I,
static Constant *
ConstantFoldConstantExpressionImpl(const ConstantExpr *CE, const DataLayout *TD,
const TargetLibraryInfo *TLI,
- SmallPtrSetImpl<ConstantExpr *> &FoldedOps) {
+ SmallPtrSet<ConstantExpr *, 4> &FoldedOps) {
SmallVector<Constant *, 8> Ops;
for (User::const_op_iterator i = CE->op_begin(), e = CE->op_end(); i != e;
++i) {
OpenPOWER on IntegriCloud