[Mlir-commits] [mlir] [mlir][tensor] Verify that `tensor.pad` padding is non-negative (PR #231389)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Thu Oct 15 09:47:49 PDT 2026
================
----------------
banach-space wrote:
If we were to follow https://mlir.llvm.org/getting_started/TestingGuide/#test-naming-convention, then it should be renamed like this:
```suggestion
func.func @nofold_pad_negative_constant(%arg0: tensor<4xf32>, %pad_value: f32)
```
I know that you are trying to keep things consistent with this file. I would just renamed the other tests or drop "fold" from names (the file is called "canonicalizaion.mlir", so it's clear that all tests are for "folding").
https://github.com/llvm/llvm-project/pull/231389
More information about the Mlir-commits
mailing list