[flang-commits] [flang] [llvm] [VPlan] Expand WidenInt inductions with nuw/nsw (PR #163538)
Luke Lau via flang-commits
flang-commits at lists.llvm.org
Fri Oct 24 03:05:13 PDT 2025
================
@@ -122,6 +122,18 @@ std::optional<VPValue *>
getRecipesForUncountableExit(VPlan &Plan,
SmallVectorImpl<VPRecipeBase *> &Recipes,
SmallVectorImpl<VPRecipeBase *> &GEPs);
+
+/// Extracts and returns nowrap flags from the induction binop in \p ID.
+inline VPIRFlags getNoWrapFlagsFromIndDesc(const InductionDescriptor &ID) {
----------------
lukel97 wrote:
```suggestion
inline VPIRFlags getFlagsFromIndDesc(const InductionDescriptor &ID) {
```
https://github.com/llvm/llvm-project/pull/163538
More information about the flang-commits
mailing list