diff options
author | Nirvedh Meshram <96096277+nirvedhmeshram@users.noreply.github.com> | 2025-04-02 16:32:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-02 16:32:36 -0500 |
commit | 42b3f91fd6c850492f6f899d6a0f12ccb948aa1a (patch) | |
tree | c3e0101ce06a1a0a2ec7124211d762318df0712c /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | db21ae7803333032e466ead0c2a29c6760739936 (diff) | |
download | llvm-42b3f91fd6c850492f6f899d6a0f12ccb948aa1a.zip llvm-42b3f91fd6c850492f6f899d6a0f12ccb948aa1a.tar.gz llvm-42b3f91fd6c850492f6f899d6a0f12ccb948aa1a.tar.bz2 |
[mlir] Vectorize tensor.pad with low padding for unit dims (#133808)
We currently do not have masked vectorization support for tenor.pad with
low padding. However, we can allow this in the special case where the
result dimension after padding is a unit dim. The reason is when we
actually have a low pad on a unit dim, the input size of that dimension
will be (or should be for correct IR) dynamically zero and hence we will
create a zero mask which is correct. If the low pad is dynamically zero
then the lowering is correct as well.
---------
Signed-off-by: Nirvedh <nirvedh@gmail.com>
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions