[Mlir-commits] [mlir] [mlir] Canonicalize tensor.extract_slice (linalg.fill) (PR #112619)

Andrzej WarzyƄski llvmlistbot at llvm.org
Thu Oct 17 01:30:10 PDT 2024


================
@@ -352,6 +352,20 @@ func.func @fold_fill_extract(%arg0 : i1) -> i1 {
 
 // -----
 
+func.func @fold_fill_extract_slice() -> tensor<2x1920x64x66xf32> {
----------------
banach-space wrote:

Please add a negative test, e.g. `linalg.fill` following by `tensor.insert`? Provided that doesn't trigger some other canonicalization.

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


More information about the Mlir-commits mailing list