[Mlir-commits] [mlir] [MLIR] Create GPU utils library & move distribution utils (PR #119264)
Kunwar Grover
llvmlistbot at llvm.org
Thu Dec 12 05:27:26 PST 2024
================
@@ -654,6 +533,38 @@ struct WarpOpTransferWrite : public OpRewritePattern<WarpExecuteOnLane0Op> {
}
private:
+ /// Clone `writeOp` assumed to be nested under `warpOp` into a new warp
+ /// execute op with the proper return type. The new write op is updated to
+ /// write the result of the new warp execute op. The old `writeOp` is deleted.
+ static vector::TransferWriteOp cloneWriteOp(RewriterBase &rewriter,
----------------
Groverkss wrote:
This should not be static
https://github.com/llvm/llvm-project/pull/119264
More information about the Mlir-commits
mailing list