summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBrian Gaeke <gaeke@uiuc.edu>2004-02-11 19:47:43 +0000
committerBrian Gaeke <gaeke@uiuc.edu>2004-02-11 19:47:43 +0000
commite28adaa633393d5beea7f8e97951cbe1e3cd1646 (patch)
tree2962e0c3decd43d3fbec7b0f8f5f091d2e615e63 /include
parentb009c0088c7809b0972976caa949ce451fdce352 (diff)
downloadllvm-e28adaa633393d5beea7f8e97951cbe1e3cd1646.tar.gz
llvm-e28adaa633393d5beea7f8e97951cbe1e3cd1646.tar.bz2
llvm-e28adaa633393d5beea7f8e97951cbe1e3cd1646.tar.xz
Fix typos in comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11333 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetInstrInfo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetInstrInfo.h b/include/llvm/Target/TargetInstrInfo.h
index e36c89fd59..963c2d36bb 100644
--- a/include/llvm/Target/TargetInstrInfo.h
+++ b/include/llvm/Target/TargetInstrInfo.h
@@ -73,7 +73,7 @@ struct TargetInstrDescriptor {
const char * Name; // Assembly language mnemonic for the opcode.
int numOperands; // Number of args; -1 if variable #args
int resultPos; // Position of the result; -1 if no result
- unsigned maxImmedConst; // Largest +ve constant in IMMMED field or 0.
+ unsigned maxImmedConst; // Largest +ve constant in IMMED field or 0.
bool immedIsSignExtended; // Is IMMED field sign-extended? If so,
// smallest -ve value is -(maxImmedConst+1).
unsigned numDelaySlots; // Number of delay slots after instruction
@@ -261,7 +261,7 @@ public:
virtual bool constantFitsInImmedField(MachineOpCode opCode,
int64_t intValue) const;
- // Return the largest +ve constant that can be held in the IMMMED field
+ // Return the largest positive constant that can be held in the IMMED field
// of this machine instruction.
// isSignExtended is set to true if the value is sign-extended before use
// (this is true for all immediate fields in SPARC instructions).