[llvm] [NFC] Fix outdated RecurKind comments (PR #144014)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 12 21:45:49 PDT 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-llvm-analysis
Author: Ivan R. Ivanov (ivanradanov)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/144014.diff
1 Files Affected:
- (modified) llvm/include/llvm/Analysis/IVDescriptors.h (+2-5)
``````````diff
diff --git a/llvm/include/llvm/Analysis/IVDescriptors.h b/llvm/include/llvm/Analysis/IVDescriptors.h
index 3b627a5140854..099b19c9cec94 100644
--- a/llvm/include/llvm/Analysis/IVDescriptors.h
+++ b/llvm/include/llvm/Analysis/IVDescriptors.h
@@ -53,13 +53,10 @@ enum class RecurKind {
FMaximumNum, ///< FP max with llvm.maximumnum semantics
FMulAdd, ///< Sum of float products with llvm.fmuladd(a * b + sum).
AnyOf, ///< AnyOf reduction with select(cmp(),x,y) where one of (x,y) is
- ///< loop invariant, and both x and y are integer type.
+ ///< loop invariant.
FindLastIV, ///< FindLast reduction with select(cmp(),x,y) where one of
- ///< (x,y) is increasing loop induction, and both x and y are
- ///< integer type.
+ ///< (x,y) is increasing loop induction.
// clang-format on
- // TODO: Any_of and FindLast reduction need not be restricted to integer type
- // only.
};
/// The RecurrenceDescriptor is used to identify recurrences variables in a
``````````
</details>
https://github.com/llvm/llvm-project/pull/144014
More information about the llvm-commits
mailing list