[all-commits] [llvm/llvm-project] 931797: [VPlan] Match legacy behavior w.r.t. using pointer...

Florian Hahn via All-commits all-commits at lists.llvm.org
Mon Oct 20 03:10:11 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    A llvm/test/Transforms/LoopVectorize/X86/replicating-load-store-costs-max-bandwidth.ll

  Log Message:
  -----------
  [VPlan] Match legacy behavior w.r.t. using pointer phis as scalar addrs.

When the legacy cost model scalarizes loads that are used as addresses
for other loads and stores, it looks to phi nodes, if they are direct
address operands of loads/stores. Match this behavior in
isUsedByLoadStoreAddress, to fix a divergence between legacy and
VPlan-based cost model.



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