mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
revert david's patch which does not even build.
llvm-svn: 97057
This commit is contained in:
parent
68c9ece3da
commit
fbafa903b5
@ -6344,8 +6344,8 @@ bool ShuffleVectorSDNode::isSplatMask(const int *Mask, EVT VT) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void checkForCyclesHelper(const SDNode *N,
|
static void checkForCyclesHelper(const SDNode *N,
|
||||||
SmallPtrSet<const SDNode *, 32> &visited,
|
std::set<const SDNode *> &visited,
|
||||||
SmallPtrSet<const SDNode *, 32> &checked) {
|
std::set<const SDNode *> &checked) {
|
||||||
if (checked.find(N) != checked.end())
|
if (checked.find(N) != checked.end())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -6371,8 +6371,8 @@ static void checkForCyclesHelper(const SDNode *N,
|
|||||||
void llvm::checkForCycles(const llvm::SDNode *N) {
|
void llvm::checkForCycles(const llvm::SDNode *N) {
|
||||||
#ifdef XDEBUG
|
#ifdef XDEBUG
|
||||||
assert(N && "Checking nonexistant SDNode");
|
assert(N && "Checking nonexistant SDNode");
|
||||||
SmallPtrSet<const SDNode *, 32> visited;
|
std::set<const SDNode *> visited;
|
||||||
SmallPtrSet<const SDNode *, 32> checked;
|
std::set<const SDNode *> checked;
|
||||||
checkForCyclesHelper(N, visited, checked);
|
checkForCyclesHelper(N, visited, checked);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user