[llvm-branch-commits] [llvm] c182a00 - [Analysis] fix typo in code comment; NFC

Sanjay Patel via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jan 1 09:50:30 PST 2021


Author: Sanjay Patel
Date: 2021-01-01T12:20:16-05:00
New Revision: c182a000954de667f1e87055bf0329e5e6f52f1f

URL: https://github.com/llvm/llvm-project/commit/c182a000954de667f1e87055bf0329e5e6f52f1f
DIFF: https://github.com/llvm/llvm-project/commit/c182a000954de667f1e87055bf0329e5e6f52f1f.diff

LOG: [Analysis] fix typo in code comment; NFC

Added: 
    

Modified: 
    llvm/include/llvm/Analysis/IVDescriptors.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Analysis/IVDescriptors.h b/llvm/include/llvm/Analysis/IVDescriptors.h
index 30216e22fc34..b9f6b7c2d04e 100644
--- a/llvm/include/llvm/Analysis/IVDescriptors.h
+++ b/llvm/include/llvm/Analysis/IVDescriptors.h
@@ -136,9 +136,10 @@ class RecurrenceDescriptor {
 
   /// Returns a struct describing if the instruction is a
   /// Select(ICmp(X, Y), X, Y) instruction pattern corresponding to a min(X, Y)
-  /// or max(X, Y). \p Prev is specifies the description of an already processed
+  /// or max(X, Y). \p Prev specifies the description of an already processed
   /// select instruction, so its corresponding cmp can be matched to it.
-  static InstDesc isMinMaxSelectCmpPattern(Instruction *I, const InstDesc &Prev);
+  static InstDesc isMinMaxSelectCmpPattern(Instruction *I,
+                                           const InstDesc &Prev);
 
   /// Returns a struct describing if the instruction is a
   /// Select(FCmp(X, Y), (Z = X op PHINode), PHINode) instruction pattern.


        


More information about the llvm-branch-commits mailing list