[all-commits] [llvm/llvm-project] 3f9e07: [VPlan] Move findCommonEdgeMask optimization to si...

Luke Lau via All-commits all-commits at lists.llvm.org
Thu Sep 4 18:30:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f9e0736ac6832632e46331800bf79e439f93a62
      https://github.com/llvm/llvm-project/commit/3f9e0736ac6832632e46331800bf79e439f93a62
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/VPlan.h
    M llvm/lib/Transforms/Vectorize/VPlanPredicator.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/test/Transforms/LoopVectorize/RISCV/pr87378-vpinstruction-or-drop-poison-generating-flags.ll
    M llvm/test/Transforms/LoopVectorize/uniform-blend.ll

  Log Message:
  -----------
  [VPlan] Move findCommonEdgeMask optimization to simplifyBlends (#156304)

Following up from #150368, this moves folding common edge masks into
simplifyBlends.

One test in uniform-blend.ll ended up regressing but after looking at it
closely, it came from a weird (x && !x) edge mask. So I've just included
a simplifcation in this PR to fold that to false.



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