mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-26 06:14:42 +00:00
fix printing of function-local metadata to print all the operands of the
mdnode, not just operand 0 over and over. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92326 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4a3d3a54eb
commit
7d054b385f
@ -1208,9 +1208,9 @@ static void WriteAsOperandInternal(raw_ostream &Out, const Value *V,
|
||||
if (!Val)
|
||||
Out << "null";
|
||||
else {
|
||||
TypePrinter->print(N->getOperand(0)->getType(), Out);
|
||||
TypePrinter->print(N->getOperand(mi)->getType(), Out);
|
||||
Out << ' ';
|
||||
WriteAsOperandInternal(Out, N->getOperand(0), TypePrinter, Machine);
|
||||
WriteAsOperandInternal(Out, N->getOperand(mi), TypePrinter, Machine);
|
||||
}
|
||||
if (mi + 1 != me)
|
||||
Out << ", ";
|
||||
|
Loading…
x
Reference in New Issue
Block a user