[llvm] 8e53e3b - Fix comment mentioning nonexistent parameter (#140138)
via llvm-commits
llvm-commits at lists.llvm.org
Thu May 15 15:22:49 PDT 2025
Author: Matthias Braun
Date: 2025-05-15T15:22:45-07:00
New Revision: 8e53e3b4ef79ad4f4658d6f3e235e49c6062aec5
URL: https://github.com/llvm/llvm-project/commit/8e53e3b4ef79ad4f4658d6f3e235e49c6062aec5
DIFF: https://github.com/llvm/llvm-project/commit/8e53e3b4ef79ad4f4658d6f3e235e49c6062aec5.diff
LOG: Fix comment mentioning nonexistent parameter (#140138)
Don't mention nonexistent parameter in comment. The parameter was
removed in https://github.com/llvm/llvm-project/pull/126003 .
Added:
Modified:
llvm/include/llvm/CodeGen/MachineOperand.h
Removed:
################################################################################
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<unsigned> 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;
More information about the llvm-commits
mailing list