[Mlir-commits] [mlir] [MLIR] [Vector] Added canonicalizer for folding from_elements + transpose (PR #161841)

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Oct 17 01:28:54 PDT 2025


================

----------------
banach-space wrote:

Please move the newly added tests near other tests for `vector.from_elements`, e.g. https://github.com/llvm/llvm-project/blob/main/mlir/test/Dialect/Vector/canonicalize.mlir

Also, please add block comments documenting what folder is tested. Examples:
https://github.com/llvm/llvm-project/blob/b228a18e572ac7ab7a2f61b97c0a2dd3565a8201/mlir/test/Dialect/Vector/canonicalize.mlir#L3365-L3367

https://github.com/llvm/llvm-project/blob/b228a18e572ac7ab7a2f61b97c0a2dd3565a8201/mlir/test/Dialect/Vector/canonicalize.mlir#L3527-L3529

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


More information about the Mlir-commits mailing list