mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215870 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6398,7 +6398,7 @@ bool SDNode::hasPredecessor(const SDNode *N) const {
|
||||
|
||||
bool
|
||||
SDNode::hasPredecessorHelper(const SDNode *N,
|
||||
SmallPtrSetImpl<const SDNode *> &Visited,
|
||||
SmallPtrSet<const SDNode *, 32> &Visited,
|
||||
SmallVectorImpl<const SDNode *> &Worklist) const {
|
||||
if (Visited.empty()) {
|
||||
Worklist.push_back(this);
|
||||
@@ -6776,8 +6776,8 @@ bool ShuffleVectorSDNode::isSplatMask(const int *Mask, EVT VT) {
|
||||
|
||||
#ifndef NDEBUG
|
||||
static void checkForCyclesHelper(const SDNode *N,
|
||||
SmallPtrSetImpl<const SDNode*> &Visited,
|
||||
SmallPtrSetImpl<const SDNode*> &Checked,
|
||||
SmallPtrSet<const SDNode*, 32> &Visited,
|
||||
SmallPtrSet<const SDNode*, 32> &Checked,
|
||||
const llvm::SelectionDAG *DAG) {
|
||||
// If this node has already been checked, don't check it again.
|
||||
if (Checked.count(N))
|
||||
|
||||
Reference in New Issue
Block a user