Skip to content

Commit c9fdf82

Browse files
committed
Fix comment
1 parent b718d65 commit c9fdf82

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

llvm/utils/TableGen/Common/InstructionEncoding.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414

1515
using namespace llvm;
1616

17-
/// If this is explictly set value, return true for second.
1817
std::pair<std::string, bool>
1918
InstructionEncoding::findOperandDecoderMethod(const CodeGenTarget &Target,
2019
const Record *Record) {

llvm/utils/TableGen/Common/InstructionEncoding.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@ 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
142+
/// is an explictly set value, return false for second.
141143
static std::pair<std::string, bool>
142144
findOperandDecoderMethod(const CodeGenTarget &Target, const Record *Record);
143145

0 commit comments

Comments
 (0)