Fix some minor errors in comments.
authorDan Gohman <gohman@apple.com>
Wed, 9 Apr 2008 20:08:06 +0000 (20:08 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 9 Apr 2008 20:08:06 +0000 (20:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49445 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetInstrDesc.h

index 5d31a00dd33758d6444e3aeab8033d5f122c3c50..dbfd55a7fb85def819f0a2f9704d7b20bfd14581 100644 (file)
@@ -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;
   }