aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopPeel.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <nicolas.vasilache@gmail.com>2021-10-12 10:30:10 +0000
committerNicolas Vasilache <nicolas.vasilache@gmail.com>2021-10-12 11:03:54 +0000
commit31270eb16501cca73fb3fbac254fe9965a3f3fc1 (patch)
tree9b7730bd9f06a3601fbb01664e4bbf86b0f5850d /llvm/lib/Transforms/Utils/LoopPeel.cpp
parent7a79c6afea93d1237bea2317bea624947ce8a4a5 (diff)
downloadllvm-31270eb16501cca73fb3fbac254fe9965a3f3fc1.zip
llvm-31270eb16501cca73fb3fbac254fe9965a3f3fc1.tar.gz
llvm-31270eb16501cca73fb3fbac254fe9965a3f3fc1.tar.bz2
[mlir][Vector] Let vector.multi_reduction reduce down to a scalar.
vector.multi_reduction currently does not allow reducing down to a scalar. This creates corner cases that are hard to handle during vectorization. This revision extends the semantics and adds the proper transforms, lowerings and canonicalizations to allow lowering out of vector.multi_reduction to other abstractions all the way to LLVM. In a future, where we will also allow 0-d vectors, scalars will still be relevant: 0-d vector and scalars are not equivalent on all hardware. In the process, splice out the implementation patterns related to vector.multi_reduce into a new file. Reviewed By: pifon2a Differential Revision: https://reviews.llvm.org/D111442
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopPeel.cpp')
0 files changed, 0 insertions, 0 deletions