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

Florian Hahn via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 16 14:05:26 PST 2024


================
@@ -9079,6 +9043,9 @@ void LoopVectorizationPlanner::adjustRecipesForReductions(
         LinkVPBB->insert(FMulRecipe, CurrentLink->getIterator());
         VecOp = FMulRecipe;
       } else {
+        if (PhiR->isInLoop() && isa<VPBlendRecipe>(CurrentLink))
+          continue;
+
----------------
fhahn wrote:

Updated, thanks!

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


More information about the cfe-commits mailing list