Skip to content

Commit 8e53e3b

Browse files
authored
Fix comment mentioning nonexistent parameter (llvm#140138)
Don't mention nonexistent parameter in comment. The parameter was removed in llvm#126003 .
1 parent a3c4a5c commit 8e53e3b

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

llvm/include/llvm/CodeGen/MachineOperand.h

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -279,9 +279,8 @@ class MachineOperand {
279279
static void printIRSlotNumber(raw_ostream &OS, int Slot);
280280

281281
/// Print the MachineOperand to \p os.
282-
/// Providing a valid \p TRI and \p IntrinsicInfo results in a more
283-
/// target-specific printing. If \p TRI and \p IntrinsicInfo are null, the
284-
/// function will try to pick it up from the parent.
282+
/// Providing a valid \p TRI results in a more target-specific printing. If
283+
/// \p TRI is null, the function will try to pick it up from the parent.
285284
void print(raw_ostream &os, const TargetRegisterInfo *TRI = nullptr) const;
286285

287286
/// More complex way of printing a MachineOperand.
@@ -304,14 +303,13 @@ class MachineOperand {
304303
/// \param TRI - provide more target-specific information to the printer.
305304
/// Unlike the previous function, this one will not try and get the
306305
/// information from it's parent.
307-
/// \param IntrinsicInfo - same as \p TRI.
308306
void print(raw_ostream &os, ModuleSlotTracker &MST, LLT TypeToPrint,
309307
std::optional<unsigned> OpIdx, bool PrintDef, bool IsStandalone,
310308
bool ShouldPrintRegisterTies, unsigned TiedOperandIdx,
311309
const TargetRegisterInfo *TRI) const;
312310

313-
/// Same as print(os, TRI, IntrinsicInfo), but allows to specify the low-level
314-
/// type to be printed the same way the full version of print(...) does it.
311+
/// Same as print(os, TRI), but allows to specify the low-level type to be
312+
/// printed the same way the full version of print(...) does it.
315313
void print(raw_ostream &os, LLT TypeToPrint,
316314
const TargetRegisterInfo *TRI = nullptr) const;
317315

0 commit comments

Comments
 (0)