[all-commits] [llvm/llvm-project] ed6f49: [VPlan] Handle conditional ordered reductions with...

Florian Hahn via All-commits all-commits at lists.llvm.org
Sat Nov 11 04:56:19 PST 2023


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

  Changed paths:
    M llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
    A llvm/test/Transforms/LoopVectorize/strict-fadd-interleave-only.ll

  Log Message:
  -----------
  [VPlan] Handle conditional ordered reductions with scalar VFs.

VPReductionRecipe::execute was not handling predicates for ordered
reduction with scalar VFs, which was causing a crash. Thsi patch adds
dedicated handling for scalar VFs when dealing with the condition.
The other operands are already handled in a similar fashion below.

Fixes #70988.




More information about the All-commits mailing list