aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-04-09 20:08:06 +0000
committerDan Gohman <gohman@apple.com>2008-04-09 20:08:06 +0000
commit920c6828ee2a31b324e2b0a9d16e01574955485d (patch)
treeeab50cb1888b1f59dd944092c0de549b004f29cc
parentcedbacffd67939d8e8f42e5506d458ddc187e575 (diff)
downloadexternal_llvm-920c6828ee2a31b324e2b0a9d16e01574955485d.tar.gz
external_llvm-920c6828ee2a31b324e2b0a9d16e01574955485d.tar.bz2
external_llvm-920c6828ee2a31b324e2b0a9d16e01574955485d.zip
Fix some minor errors in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49445 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetInstrDesc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Target/TargetInstrDesc.h b/include/llvm/Target/TargetInstrDesc.h
index 5d31a00dd3..dbfd55a7fb 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;
}