[Mlir-commits] [mlir] [mlir][AMDGPU] Plumb address space 7 through MLIR, add address_space attr. (PR #125594)
Krzysztof Drewniak
llvmlistbot at llvm.org
Wed Feb 26 12:11:05 PST 2025
================
@@ -31,4 +31,20 @@ def AmdgpuEmulateAtomicsPass : Pass<"amdgpu-emulate-atomics"> {
"Chipset that these operations will run on">];
}
+def AmdgpuResolveStridedMetadataPass : Pass<"amdgpu-resolve-strided-metadata"> {
+ let summary = "Resolve memref.extract_strided_metadata on AMDGPU ops";
+ let description = [{
+ This pass rrewrites `memref.extract_strided_metadata` operations
+ targeting the AMDGPU dialect casts.
+
+ It's mainly meant for testing - please incorporate the patterns into your
+ own extract-strided-metadata passes (or run memref's expand-strided-metadata
+ again after this).
----------------
krzysz00 wrote:
"mainly for testing" != "only for testing" - this is a valid pass to run on some code to clean up stray strided metadata extractions
https://github.com/llvm/llvm-project/pull/125594
More information about the Mlir-commits
mailing list