[Mlir-commits] [mlir] [mlir] Vectorize tensor.pad with low padding for unit dims (PR #133808)

Andrzej WarzyƄski llvmlistbot at llvm.org
Wed Apr 2 03:15:42 PDT 2025


================
@@ -305,6 +305,33 @@ module attributes {transform.with_named_sequence} {
 
 // -----
 
+// Low padding is unsupported with the exception of the special case if the
+// result size of the padded dimension is unit. Here `%l0` being a non-zero
+// padding applied to a non-unit result dimension makes this case unsupported.
+func.func @test_masked_vectorize_lowpad(
----------------
banach-space wrote:

Sorry for being annoying, but could you rename this to better align with the other examples in this file?

Perhaps:
* `@test_masked_vectorize_lowpad` --> `@tensor_pad_non_zero_low_pad`

https://github.com/llvm/llvm-project/pull/133808


More information about the Mlir-commits mailing list