[Mlir-commits] [mlir] [AMDGPU] Adding FoldMemRefOpsIntoTransposeLoadOp pattern (PR #183330)

Jakub Kuderski llvmlistbot at llvm.org
Wed Feb 25 08:40:58 PST 2026


================
@@ -100,8 +100,30 @@ struct FoldMemRefOpsIntoGatherToLDSOp final : OpRewritePattern<GatherToLDSOp> {
   }
 };
 
+struct FoldMemRefOpsIntoTransposeLoadOp final
+    : OpRewritePattern<TransposeLoadOp> {
+  using OpRewritePattern::OpRewritePattern;
----------------
kuhar wrote:

nit:
```suggestion
  using Base::Base;
```
(the other patterns in this file should also switch to this)

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


More information about the Mlir-commits mailing list