TargetInstrInfo.h: Fix r240192. [-Wdocumentation]
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 20 Jun 2015 03:53:18 +0000 (03:53 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sat, 20 Jun 2015 03:53:18 +0000 (03:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240210 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetInstrInfo.h

index 0879c7283a4cbffae07231f5b9211488f50d5580..ec7aef3e5aa057cb7b96b24eaa9468e8d6afe371 100644 (file)
@@ -724,7 +724,7 @@ public:
   /// 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
-  /// \param Patterns - Vector of possible combination patterns
+  /// \param Pattern - Vector of possible combination patterns
   virtual bool getMachineCombinerPatterns(
       MachineInstr &Root,
       SmallVectorImpl<MachineCombinerPattern::MC_PATTERN> &Pattern) const {
@@ -735,7 +735,7 @@ public:
   /// the instructions that could replace the original code sequence. The client
   /// has to decide whether the actual replacement is beneficial or not.
   /// \param Root - Instruction that could be combined with one of its operands
-  /// \param P - Combination pattern for Root
+  /// \param Pattern - Combination pattern for Root
   /// \param InsInstrs - Vector of new instructions that implement P
   /// \param DelInstrs - Old instructions, including Root, that could be
   /// replaced by InsInstr