diff options
| author | Craig Topper <craig.topper@gmail.com> | 2014-08-18 00:24:38 +0000 |
|---|---|---|
| committer | Craig Topper <craig.topper@gmail.com> | 2014-08-18 00:24:38 +0000 |
| commit | 6230691c9186e95cd19dff07074a54fb70719957 (patch) | |
| tree | 6bdcca9e44f1549b7264e61c4e15185dbcd0ec10 /llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp | |
| parent | 4dd9b43c8d42f79fb5b7f11e2f331016cdddb929 (diff) | |
| download | bcm5719-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/Transforms/InstCombine/InstCombinePHI.cpp')
| -rw-r--r-- | llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp index 52261caaccd..46f7b8a095c 100644 --- a/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp +++ b/llvm/lib/Transforms/InstCombine/InstCombinePHI.cpp @@ -506,7 +506,7 @@ Instruction *InstCombiner::FoldPHIArgOpIntoPHI(PHINode &PN) { /// DeadPHICycle - Return true if this PHI node is only used by a PHI node cycle /// that is dead. static bool DeadPHICycle(PHINode *PN, - SmallPtrSetImpl<PHINode*> &PotentiallyDeadPHIs) { + SmallPtrSet<PHINode*, 16> &PotentiallyDeadPHIs) { if (PN->use_empty()) return true; if (!PN->hasOneUse()) return false; @@ -528,7 +528,7 @@ static bool DeadPHICycle(PHINode *PN, /// NonPhiInVal. This happens with mutually cyclic phi nodes like: /// z = some value; x = phi (y, z); y = phi (x, z) static bool PHIsEqualValue(PHINode *PN, Value *NonPhiInVal, - SmallPtrSetImpl<PHINode*> &ValueEqualPHIs) { + SmallPtrSet<PHINode*, 16> &ValueEqualPHIs) { // See if we already saw this PHI node. if (!ValueEqualPHIs.insert(PN)) return true; |

