[Mlir-commits] [mlir] [mlir][SPIRV] Add sub-element-byte lowering support for atomic_rmw ori/andi ops (PR #179831)

Jakub Kuderski llvmlistbot at llvm.org
Mon Feb 23 08:12:13 PST 2026


================
@@ -427,27 +427,137 @@ AtomicRMWOpPattern::matchAndRewrite(memref::AtomicRMWOp atomicOp,
   if (!ptr)
     return failure();
 
+  // Determine the source and destination bitwidths. The source is the original
----------------
kuhar wrote:

Consider pulling this out into a helper function -- this function is already quite long.

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


More information about the Mlir-commits mailing list