mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 23:16:20 +00:00
NamedMDNode is never an operand.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
872814ae04
commit
557c83c99e
@ -520,7 +520,7 @@ void Verifier::visitMDNode(MDNode &MD, Function *F) {
|
||||
Value *Op = MD.getOperand(i);
|
||||
if (!Op)
|
||||
continue;
|
||||
if (isa<Constant>(Op) || isa<MDString>(Op) || isa<NamedMDNode>(Op))
|
||||
if (isa<Constant>(Op) || isa<MDString>(Op))
|
||||
continue;
|
||||
if (MDNode *N = dyn_cast<MDNode>(Op)) {
|
||||
Assert2(MD.isFunctionLocal() || !N->isFunctionLocal(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user