[Mlir-commits] [mlir] [MLIR][XeGPU] Support subview memref: handling the base address during xegpu to xevm type conversion (PR #170541)
Charitha Saumya
llvmlistbot at llvm.org
Wed Dec 3 15:52:56 PST 2025
================
@@ -175,6 +175,9 @@ template <typename T>
int getLargestDivisor(T dim, ArrayRef<T> candidates,
ArrayRef<T> candidateMultiples = {});
+/// Checks if the given MemRefType refers to shared memory.
+bool isSharedMemRef(const MemRefType &memrefTy);
----------------
charithaintc wrote:
nit: This is only used in a single file for now (`XeGPUToXeVM`). For now you can have this as a helper inside that file. If more uses arise we can have a common place for it.
https://github.com/llvm/llvm-project/pull/170541
More information about the Mlir-commits
mailing list