[Mlir-commits] [mlir] [mlir] Add apply_patterns.linalg.generalize_pack_unpack TD Op (PR #116373)

Andrzej WarzyƄski llvmlistbot at llvm.org
Fri Nov 15 11:55:45 PST 2024


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

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

No :) 

* I am updating this test to use `transform.apply_patterns.linalg.generalize_pack_unpack` instead of `--test-linalg-transform-patterns="test-generalize-tensor-pack"`. This way I avoid adding artificial tests to exercise the TD Op. 
* To avoid duplicating the TD sequence for every "split" in the input file, I am using `--transform-preload-library='transform-library-paths=%p/td/generalize_pack.mlir`.
* To make sure that "generalize_pack.mlir" (used above) is not treated as a test file, I am adding "lit.local.cfg" to exclude the "test/Dialect/Linalg/td" directory.

That's actually quite a few steps :) I will add this to the commit summary.

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


More information about the Mlir-commits mailing list