From 02865b360e6a444b9f84888abcee9bacf37093a4 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Thu, 15 May 2025 13:51:23 -0700 Subject: [PATCH] Fix comment mentioning nonexistent parameter Stop mentioning nonexistent parameter in comment. The parameter was removed in https://github.com/llvm/llvm-project/pull/126003 . --- llvm/include/llvm/CodeGen/MachineOperand.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/llvm/include/llvm/CodeGen/MachineOperand.h b/llvm/include/llvm/CodeGen/MachineOperand.h index b4e704654495c..5a06ad02ca3a3 100644 --- a/llvm/include/llvm/CodeGen/MachineOperand.h +++ b/llvm/include/llvm/CodeGen/MachineOperand.h @@ -279,9 +279,8 @@ class MachineOperand { static void printIRSlotNumber(raw_ostream &OS, int Slot); /// Print the MachineOperand to \p os. - /// Providing a valid \p TRI and \p IntrinsicInfo results in a more - /// target-specific printing. If \p TRI and \p IntrinsicInfo are null, the - /// function will try to pick it up from the parent. + /// Providing a valid \p TRI results in a more target-specific printing. If + /// \p TRI is null, the function will try to pick it up from the parent. void print(raw_ostream &os, const TargetRegisterInfo *TRI = nullptr) const; /// More complex way of printing a MachineOperand. @@ -304,14 +303,13 @@ class MachineOperand { /// \param TRI - provide more target-specific information to the printer. /// Unlike the previous function, this one will not try and get the /// information from it's parent. - /// \param IntrinsicInfo - same as \p TRI. void print(raw_ostream &os, ModuleSlotTracker &MST, LLT TypeToPrint, std::optional OpIdx, bool PrintDef, bool IsStandalone, bool ShouldPrintRegisterTies, unsigned TiedOperandIdx, const TargetRegisterInfo *TRI) const; - /// Same as print(os, TRI, IntrinsicInfo), but allows to specify the low-level - /// type to be printed the same way the full version of print(...) does it. + /// Same as print(os, TRI), but allows to specify the low-level type to be + /// printed the same way the full version of print(...) does it. void print(raw_ostream &os, LLT TypeToPrint, const TargetRegisterInfo *TRI = nullptr) const;