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

Nithin Meganathan llvmlistbot at llvm.org
Sun Oct 20 18:11:19 PDT 2024


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

Could you elaborate why we may need such a test here? To test that such a pattern wouldn't get folded?

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


More information about the Mlir-commits mailing list