mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-15 23:06:32 +00:00

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>
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.