llvm.org GIT mirror llvm / 78aeae2
When we know we have an MDValue or MDString, call EnumerateMetadata directly instead of going through EnumerateValue. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@111894 91177308-0d34-0410-b5e6-96231b3b80d8 Dan Gohman 9 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
351351 EnumerateOperandType(Elem);
352352 }
353353 } else if (isa(V) || isa(V))
354 EnumerateValue(V);
354 EnumerateMetadata(V);
355355 }
356356
357357 void ValueEnumerator::EnumerateAttributes(const AttrListPtr &PAL) {