[llvm] [VPlan] Unroll VPReplicateRecipe by VF. (PR #142433)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 25 12:02:37 PDT 2025


================
@@ -224,6 +224,9 @@ struct Recipe_match {
     if ((!matchRecipeAndOpcode<RecipeTys>(R) && ...))
       return false;
 
+    auto *VPI = dyn_cast<VPInstruction>(R);
+    if (VPI && VPI->getOpcode() == VPInstruction::BuildVector)
+      return true;
----------------
fhahn wrote:

Moved up to handle the case first, thanks

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


More information about the llvm-commits mailing list