[all-commits] [llvm/llvm-project] ae7b15: [VPlan] Return invalid for scalable VF in VPReplic...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Oct 11 11:29:22 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae7b15f2e29cea642ca847a4f0ae91d2d793f6ad
      https://github.com/llvm/llvm-project/commit/ae7b15f2e29cea642ca847a4f0ae91d2d793f6ad
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2025-10-11 (Sat, 11 Oct 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/invalid-costs.ll
    A llvm/test/Transforms/LoopVectorize/invalid-costs.ll

  Log Message:
  -----------
  [VPlan] Return invalid for scalable VF in VPReplicateRecipe::computeCost

Replication is currently not supported for scalable VFs. Make sure
VPReplicateRecipe::computeCost returns an invalid cost early, for
scalable VFs if the recipe is not a single-scalar.

Note that this moves the existing invalid-costs.ll out of the AArch64
subdirectory, as it does not use a target triple.

Fixes https://github.com/llvm/llvm-project/issues/160792.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list