Add argument name comments.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105665 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen 2010-06-09 00:40:31 +00:00
parent 09712b57ce
commit c3c2517fed

View File

@ -827,8 +827,12 @@ EmitSpecialNode(SDNode *Node, bool IsClone, bool IsCloned,
case InlineAsm::Kind_RegDefEarlyClobber: case InlineAsm::Kind_RegDefEarlyClobber:
for (; NumVals; --NumVals, ++i) { for (; NumVals; --NumVals, ++i) {
unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg(); unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg();
MI->addOperand(MachineOperand::CreateReg(Reg, true, false, false, MI->addOperand(MachineOperand::CreateReg(Reg, /*isDef=*/ true,
false, false, true)); /*isImp=*/ false,
/*isKill=*/ false,
/*isDead=*/ false,
/*isUndef=*/false,
/*isEarlyClobber=*/ true));
} }
break; break;
case InlineAsm::Kind_RegUse: // Use of register. case InlineAsm::Kind_RegUse: // Use of register.