[all-commits] [llvm/llvm-project] b7e922: [VPlan] Convert BuildVector with all-equal values ...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Nov 1 17:29:03 PDT 2025


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/AArch64/force-target-instruction-cost.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/licm-calls.ll
    M llvm/test/Transforms/LoopVectorize/AArch64/masked-call-scalarize.ll
    M llvm/test/Transforms/LoopVectorize/X86/replicate-recipe-with-only-first-lane-used.ll

  Log Message:
  -----------
  [VPlan] Convert BuildVector with all-equal values to Broadcast. (#165826)

Fold BuildVector where all operands are equal to Broadcast of the first
operand. This will subsequently make it easier to remove additional
buildvectors/broadcasts, e.g. via
https://github.com/llvm/llvm-project/pull/165506.

PR: https://github.com/llvm/llvm-project/pull/165826



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