summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorCraig Topper <craig.topper@gmail.com>2014-08-17 23:47:00 +0000
committerCraig Topper <craig.topper@gmail.com>2014-08-17 23:47:00 +0000
commit5229cfd1638705a7dbf668a840c6015f6b3ecbc6 (patch)
tree6386075afc3c37ab8378d2c8873a0172b000a847 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent3a1623f5e4478edf2ff6a50eb5a7cade0087c6e9 (diff)
downloadbcm5719-llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.gz
bcm5719-llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.zip
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 215868
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
-rw-r--r--llvm/lib/CodeGen/CodeGenPrepare.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/CodeGenPrepare.cpp b/llvm/lib/CodeGen/CodeGenPrepare.cpp
index 948fddc6ed8..4c0345d921a 100644
--- a/llvm/lib/CodeGen/CodeGenPrepare.cpp
+++ b/llvm/lib/CodeGen/CodeGenPrepare.cpp
@@ -2297,7 +2297,7 @@ static bool IsOperandAMemoryOperand(CallInst *CI, InlineAsm *IA, Value *OpVal,
/// Add the ultimately found memory instructions to MemoryUses.
static bool FindAllMemoryUses(Instruction *I,
SmallVectorImpl<std::pair<Instruction*,unsigned> > &MemoryUses,
- SmallPtrSet<Instruction*, 16> &ConsideredInsts,
+ SmallPtrSetImpl<Instruction*> &ConsideredInsts,
const TargetLowering &TLI) {
// If we already considered this instruction, we're done.
if (!ConsideredInsts.insert(I))
OpenPOWER on IntegriCloud