Skip to content

Commit 8bd7668

Browse files
committed
comment typos
1 parent 7006535 commit 8bd7668

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

llvm/utils/TableGen/Common/CodeGenTarget.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ class CodeGenTarget {
156156
/// it's a RegisterOperand, or a direct RegisterClass reference), return the
157157
/// Record for that RegisterClass.
158158
///
159-
/// AssumeRegClassByHwModeIsDefault is a hack which should be removed. It's
160-
/// only happens to be adequate for the current GlobalISel usage.
159+
/// AssumeRegClassByHwModeIsDefault is a hack which should be removed. It only
160+
/// happens to be adequate for the current GlobalISel usage.
161161
const Record *
162162
getInitValueAsRegClass(const Init *V,
163163
bool AssumeRegClassByHwModeIsDefault = false) const;

llvm/utils/TableGen/Common/InstructionEncoding.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ class InstructionEncoding {
138138
/// Returns information about the operands' contribution to this encoding.
139139
ArrayRef<OperandInfo> getOperands() const { return Operands; }
140140

141-
/// \returns the effective value of the DecoderMethod field.t If DecoderMethod
141+
/// \returns the effective value of the DecoderMethod field. If DecoderMethod
142142
/// is an explictly set value, return false for second.
143143
static std::pair<std::string, bool>
144144
findOperandDecoderMethod(const CodeGenTarget &Target, const Record *Record);

0 commit comments

Comments
 (0)