[Mlir-commits] [mlir] [mlir][gpu][spirv] Remove rotation semantics of gpu.shuffle up/down (PR #139105)
Hsiangkai Wang
llvmlistbot at llvm.org
Wed Jun 4 09:12:26 PDT 2025
================
@@ -1332,7 +1332,8 @@ def GPU_ShuffleOp : GPU_Op<
%3, %4 = gpu.shuffle down %0, %cst1, %width : f32
```
- For lane `k`, returns the value from lane `(k + 1) % width`.
+ For lane `k`, returns the value from lane `(k + cst1)`. The resulting value
----------------
Hsiangkai wrote:
In the original description, it uses "an unspecified value" for values out of bound. I seem to add redundant description here. We can use the return flag to let users know the value is meaningful or "unspecified" (original value in NVVM and undefined in SPIR-V).
https://github.com/llvm/llvm-project/pull/139105
More information about the Mlir-commits
mailing list