[Mlir-commits] [mlir] [mlir][rocdl] Add IR examples to OP definitions (PR #182147)

Krzysztof Drewniak llvmlistbot at llvm.org
Wed Feb 18 17:13:11 PST 2026


================
@@ -282,6 +309,15 @@ def ROCDL_DsSwizzleOp : ROCDL_ConcreteNonMemIntrOp<"ds_swizzle", [], 1>,
   let assemblyFormat = [{
     $src `,` $offset  attr-dict `:` `(` type($src) `,` type($offset) `)` `->` type($res)
    }];
+  let description = [{
+    Perform a data-sharing swizzle operation within a wavefront.
----------------
krzysz00 wrote:

We may want to pull LLVM-side documentation on how the constant is constructed, or point people at the lowering pattern

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


More information about the Mlir-commits mailing list