From: Dan Gohman Date: Wed, 9 Apr 2008 20:08:06 +0000 (+0000) Subject: Fix some minor errors in comments. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=920c6828ee2a31b324e2b0a9d16e01574955485d;p=oota-llvm.git Fix some minor errors in comments. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49445 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/Target/TargetInstrDesc.h b/include/llvm/Target/TargetInstrDesc.h index 5d31a00dd33..dbfd55a7fb8 100644 --- a/include/llvm/Target/TargetInstrDesc.h +++ b/include/llvm/Target/TargetInstrDesc.h @@ -174,7 +174,7 @@ public: 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 @@ public: 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 @@ public: /// 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; }