[clang-tools-extra] [llvm] [compiler-rt] [flang] [clang] [VPlan] Replace VPRecipeOrVPValue with VP2VP recipe simplification. (PR #76090)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 13:09:01 PST 2024


================
@@ -9027,7 +8994,8 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
     // the phi until LoopExitValue. We keep track of the previous item
     // (PreviousLink) to tell which of the two operands of a Link will remain
     // scalar and which will be reduced. For minmax by select(cmp), Link will be
-    // the select instructions.
+    // the select instructions. Blend recipes will get folded to their non-phi
----------------
ayalz wrote:

```suggestion
    // the select instructions. Blend recipes of in-loop reduction phi's will get folded to their non-phi
```

https://github.com/llvm/llvm-project/pull/76090


More information about the cfe-commits mailing list