[all-commits] [llvm/llvm-project] 01c590: [VPlan] Handle AnyOf Or reduction via ComputeReduc...

Florian Hahn via All-commits all-commits at lists.llvm.org
Thu Apr 9 03:51:20 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01c590876130283d86571089b3b3df1191ac0474
      https://github.com/llvm/llvm-project/commit/01c590876130283d86571089b3b3df1191ac0474
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2026-04-09 (Thu, 09 Apr 2026)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    M llvm/lib/Transforms/Vectorize/VPlanRecipes.cpp
    M llvm/lib/Transforms/Vectorize/VPlanTransforms.cpp
    M llvm/lib/Transforms/Vectorize/VPlanUnroll.cpp
    M llvm/test/Transforms/LoopVectorize/epilog-vectorization-reductions.ll

  Log Message:
  -----------
  [VPlan] Handle AnyOf Or reduction via ComputeReductionResult. (#191049)

Instead of having ComputeAnyOfResult handle the Or reduction of unrolled
parts inline, route it through ComputeReductionResult with
RecurKind::Or. ComputeAnyOfResult now takes a pre-reduced scalar and
only performs the freeze + select.

This is a preparatory step towards removing ComputeAnyOfResult entirely
in https://github.com/llvm/llvm-project/pull/190039.

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



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