[llvm-commits] [llvm] r105665 - /llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Jakob Stoklund Olesen
stoklund at 2pi.dk
Tue Jun 8 17:40:31 PDT 2010
Author: stoklund
Date: Tue Jun 8 19:40:31 2010
New Revision: 105665
URL: http://llvm.org/viewvc/llvm-project?rev=105665&view=rev
Log:
Add argument name comments.
Modified:
llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
Modified: llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp?rev=105665&r1=105664&r2=105665&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp (original)
+++ llvm/trunk/lib/CodeGen/SelectionDAG/InstrEmitter.cpp Tue Jun 8 19:40:31 2010
@@ -827,8 +827,12 @@
case InlineAsm::Kind_RegDefEarlyClobber:
for (; NumVals; --NumVals, ++i) {
unsigned Reg = cast<RegisterSDNode>(Node->getOperand(i))->getReg();
- MI->addOperand(MachineOperand::CreateReg(Reg, true, false, false,
- false, false, true));
+ MI->addOperand(MachineOperand::CreateReg(Reg, /*isDef=*/ true,
+ /*isImp=*/ false,
+ /*isKill=*/ false,
+ /*isDead=*/ false,
+ /*isUndef=*/false,
+ /*isEarlyClobber=*/ true));
}
break;
case InlineAsm::Kind_RegUse: // Use of register.
More information about the llvm-commits
mailing list