[llvm-commits] [llvm] r49445 - /llvm/trunk/include/llvm/Target/TargetInstrDesc.h
Dan Gohman
gohman at apple.com
Wed Apr 9 13:08:06 PDT 2008
Author: djg
Date: Wed Apr 9 15:08:06 2008
New Revision: 49445
URL: http://llvm.org/viewvc/llvm-project?rev=49445&view=rev
Log:
Fix some minor errors in comments.
Modified:
llvm/trunk/include/llvm/Target/TargetInstrDesc.h
Modified: llvm/trunk/include/llvm/Target/TargetInstrDesc.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetInstrDesc.h?rev=49445&r1=49444&r2=49445&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetInstrDesc.h (original)
+++ llvm/trunk/include/llvm/Target/TargetInstrDesc.h Wed Apr 9 15:08:06 2008
@@ -174,7 +174,7 @@
return Flags & (1 << TID::HasOptionalDef);
}
- /// getImplicitUses - Return a list of machine operands that are potentially
+ /// getImplicitUses - Return a list of registers that are potentially
/// read by any instance of this machine instruction. For example, on X86,
/// the "adc" instruction adds two register operands and adds the carry bit in
/// from the flags register. In this case, the instruction is marked as
@@ -187,7 +187,7 @@
return ImplicitUses;
}
- /// getImplicitDefs - Return a list of machine operands that are potentially
+ /// getImplicitDefs - Return a list of registers that are potentially
/// written by any instance of this machine instruction. For example, on X86,
/// many instructions implicitly set the flags register. In this case, they
/// are marked as setting the FLAGS. Likewise, many instructions always
@@ -196,7 +196,7 @@
/// registers. For that instruction, this will return a list containing the
/// EAX/EDX/EFLAGS registers.
///
- /// This method returns null if the instruction has no implicit uses.
+ /// This method returns null if the instruction has no implicit defs.
const unsigned *getImplicitDefs() const {
return ImplicitDefs;
}
More information about the llvm-commits
mailing list