diff options
author | Sam Tebbs <samuel.tebbs@arm.com> | 2024-12-24 12:08:17 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-24 12:08:17 +0000 |
commit | c858bf620c3ab2a4db53e84b9365b553c3ad1aa6 (patch) | |
tree | 785a7d62d17ae63decb1a252eee1cf0e454716ae /llvm/docs/CommandGuide | |
parent | b2073fb9b9282c0f59861a137660f6a0782d7468 (diff) | |
download | llvm-c858bf620c3ab2a4db53e84b9365b553c3ad1aa6.zip llvm-c858bf620c3ab2a4db53e84b9365b553c3ad1aa6.tar.gz llvm-c858bf620c3ab2a4db53e84b9365b553c3ad1aa6.tar.bz2 |
Reland "[LoopVectorizer] Add support for partial reductions" (#120721)
This re-lands the reverted #92418
When the VF is small enough so that dividing the VF by the scaling
factor results in 1, the reduction phi execution thinks the VF is scalar
and sets the reduction's output as a scalar value, tripping assertions
expecting a vector value. The latest commit in this PR fixes that by
using `State.VF` in the scalar check, rather than the divided VF.
---------
Co-authored-by: Nicholas Guy <nicholas.guy@arm.com>
Diffstat (limited to 'llvm/docs/CommandGuide')
0 files changed, 0 insertions, 0 deletions