[Mlir-commits] [mlir] [mlir][XeGPU] Add MemoryEffectsOpInterface for XeGPU memory related ops. (PR #125314)

Charitha Saumya llvmlistbot at llvm.org
Mon Feb 3 08:58:24 PST 2025


================
@@ -276,7 +276,10 @@ def XeGPU_PrefetchNdOp : XeGPU_Op<"prefetch_nd", []> {
 }
 
 
-def XeGPU_LoadNdOp : XeGPU_Op<"load_nd", [AllElementTypesMatch<["value", "TensorDesc"]>]> {
+def XeGPU_LoadNdOp : XeGPU_Op<"load_nd", [
+  AllElementTypesMatch<["value", "TensorDesc"]>,
+  DeclareOpInterfaceMethods<MemoryEffectsOpInterface>
----------------
charithaintc wrote:

done! thanks for the suggestion. 

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


More information about the Mlir-commits mailing list