[Mlir-commits] [mlir] [mlir] [linalg] Add pattern to swap transpose with broadcast (PR #97063)

Mehdi Amini llvmlistbot at llvm.org
Fri Jul 19 03:02:48 PDT 2024


================
@@ -33,6 +33,11 @@ together.
 
 Some important things to think about w.r.t. canonicalization patterns:
 
+*   The goal of canonicalization is to make subsequent optimizations more
+    effective. Therefore, performance improvements are not necessary for
+    canonicalization. But it is generally better to define a canonicalize
+    pattern that do not harm the performance.
----------------
joker-eph wrote:

```suggestion
    canonicalization.
```

This is ill defined.

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


More information about the Mlir-commits mailing list