[llvm] [CodeGen][NFC] Update Doxygen references to renamed parameters (PR #170253)

Piotr Fusik via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 23:17:23 PST 2025


https://github.com/pfusik created https://github.com/llvm/llvm-project/pull/170253

The parameters were renamed in cfe0393b8269b85e199025b2350277563f43cd29 and 6e70c370e5e8eb5d9035c65d6c4f2a2687e099b6.

>From 601c754eca3f45ee40a47d1920dd1b9e4f9d5073 Mon Sep 17 00:00:00 2001
From: Piotr Fusik <p.fusik at samsung.com>
Date: Tue, 2 Dec 2025 08:13:52 +0100
Subject: [PATCH] [CodeGen][NFC] Update Doxygen references to renamed
 parameters

The parameters were renamed in cfe0393b8269b85e199025b2350277563f43cd29
and 6e70c370e5e8eb5d9035c65d6c4f2a2687e099b6.
---
 llvm/include/llvm/CodeGen/TargetInstrInfo.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/llvm/include/llvm/CodeGen/TargetInstrInfo.h b/llvm/include/llvm/CodeGen/TargetInstrInfo.h
index 18142c2c0adf3..2a9522452d7cd 100644
--- a/llvm/include/llvm/CodeGen/TargetInstrInfo.h
+++ b/llvm/include/llvm/CodeGen/TargetInstrInfo.h
@@ -1277,7 +1277,7 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
 
   /// Return true when there is potentially a faster code sequence
   /// for an instruction chain ending in \p Root. All potential patterns are
-  /// returned in the \p Pattern vector. Pattern should be sorted in priority
+  /// returned in the \p Patterns vector. Patterns should be sorted in priority
   /// order since the pattern evaluator stops checking as soon as it finds a
   /// faster sequence.
   /// \param Root - Instruction that could be combined with one of its operands
@@ -1379,7 +1379,7 @@ class LLVM_ABI TargetInstrInfo : public MCInstrInfo {
   /// has to decide whether the actual replacement is beneficial or not.
   /// \param Root - Instruction that could be combined with one of its operands
   /// \param Pattern - Combination pattern for Root
-  /// \param InsInstrs - Vector of new instructions that implement P
+  /// \param InsInstrs - Vector of new instructions that implement Pattern
   /// \param DelInstrs - Old instructions, including Root, that could be
   /// replaced by InsInstr
   /// \param InstIdxForVirtReg - map of virtual register to instruction in



More information about the llvm-commits mailing list