diff options
author | Florian Hahn <flo@fhahn.com> | 2024-04-05 13:45:02 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2024-04-05 13:45:13 +0100 |
commit | c6e38b928c56f562aea68a8e90f02dbdf0eada85 (patch) | |
tree | 041a915bb21760bc68975167a74dd4d0d56c8c49 /llvm/lib/IR/Function.cpp | |
parent | 2650375b3beeb60596ca38e2e06685e48e8ed01f (diff) | |
download | llvm-c6e38b928c56f562aea68a8e90f02dbdf0eada85.zip llvm-c6e38b928c56f562aea68a8e90f02dbdf0eada85.tar.gz llvm-c6e38b928c56f562aea68a8e90f02dbdf0eada85.tar.bz2 |
Reapply "[LV] Improve AnyOf reduction codegen. (#78304)"
This reverts the revert commit 589c7abb03448.
This patch includes a fix for any-of reductions and epilogue
vectorization. Extra test coverage for the issue that caused the revert
has been added in 399ff08e29d.
--------------------------------
Original commit message:
Update AnyOf reduction code generation to only keep track of the AnyOf
property in a boolean vector in the loop, only selecting either the new
or start value in the middle block.
The patch incorporates feedback from https://reviews.llvm.org/D153697.
This fixes the #62565, as now there aren't multiple uses of the
start/new values.
Fixes https://github.com/llvm/llvm-project/issues/62565
PR: https://github.com/llvm/llvm-project/pull/78304
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions