[all-commits] [llvm/llvm-project] 1ab63d: [VPlan] Process instructions in reverse order when...

Andrei Elovikov via All-commits all-commits at lists.llvm.org
Thu Feb 26 15:12:58 PST 2026


  Branch: refs/heads/users/eas/vplan-based-stride-mv-rt-guard
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ab63d5396d70048d5195d7f9dacf016ee1166d7
      https://github.com/llvm/llvm-project/commit/1ab63d5396d70048d5195d7f9dacf016ee1166d7
  Author: Andrei Elovikov <andrei.elovikov at sifive.com>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/predication_costs.ll
    M llvm/test/Transforms/LoopVectorize/X86/induction-costs.ll
    M llvm/test/Transforms/LoopVectorize/induction.ll
    M llvm/test/Transforms/LoopVectorize/single-value-blend-phis.ll

  Log Message:
  -----------
  [VPlan] Process instructions in reverse order when widening

It doesn't matter right now because we're using CM's decision, but
https://github.com/llvm/llvm-project/pull/182595 introduces some
scalarization (first-lane-only) opportunites that aren't known in CM and
those require reverse iteration order to support as those are determined
by VPUsers and not operands.


  Commit: 6c41d128a824807d3c078e63922f0443a5de7b61
      https://github.com/llvm/llvm-project/commit/6c41d128a824807d3c078e63922f0443a5de7b61
  Author: Andrei Elovikov <andrei.elovikov at sifive.com>
  Date:   2026-02-26 (Thu, 26 Feb 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorizationPlanner.h
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPRecipeBuilder.h
    M llvm/lib/Transforms/Vectorize/VPlan.cpp
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanAnalysis.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.h
    M llvm/lib/Transforms/Vectorize/VPlanUtils.cpp
    M llvm/test/Transforms/LoopVectorize/VPlan/vplan-based-stride-mv.ll
    M llvm/test/Transforms/LoopVectorize/vplan-based-stride-mv.ll

  Log Message:
  -----------
  [VPlan] Implement VPlan-based stride speculation


Compare: https://github.com/llvm/llvm-project/compare/3ddabd88958e...6c41d128a824

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