[Mlir-commits] [mlir] [mlir][gpu] Separate the barrier elimination code from transform ops (PR #71762)
Mehdi Amini
llvmlistbot at llvm.org
Thu Nov 9 06:43:13 PST 2023
================
@@ -165,6 +165,10 @@ void populateGpuDecomposeMemrefsPatterns(RewritePatternSet &patterns);
/// Pass decomposes memref ops inside `gpu.launch` body.
std::unique_ptr<Pass> createGpuDecomposeMemrefsPass();
+void populateGpuEliminateBarriersPatterns(RewritePatternSet &patterns);
+
+std::unique_ptr<OperationPass<func::FuncOp>> createGpuEliminateBarriersPass();
----------------
joker-eph wrote:
The create method should be auto generated (remove from the .td)
https://github.com/llvm/llvm-project/pull/71762
More information about the Mlir-commits
mailing list