forked from OSchip/llvm-project
Revert "[DomTree] Assert that blocks in queries aren't from another function"
This reverts commit 86046516e4
.
This assertion fails on https://lab.llvm.org/buildbot/#/builders/98/builds/6690
Reverting it for now.
This commit is contained in:
parent
103c1bd118
commit
a67c7deae7
|
@ -349,9 +349,6 @@ protected:
|
|||
/// may (but is not required to) be null for a forward (backwards)
|
||||
/// statically unreachable block.
|
||||
DomTreeNodeBase<NodeT> *getNode(const NodeT *BB) const {
|
||||
assert((!BB || !BB->getParent() || BB->getParent() == Parent) &&
|
||||
"A node from another function!");
|
||||
|
||||
auto I = DomTreeNodes.find(BB);
|
||||
if (I != DomTreeNodes.end())
|
||||
return I->second.get();
|
||||
|
|
Loading…
Reference in New Issue