[Mlir-commits] [mlir] [mlir][gpu][spirv] Remove rotation semantics of gpu.shuffle up/down (PR #139105)
Hsiangkai Wang
llvmlistbot at llvm.org
Mon Jun 9 11:24:08 PDT 2025
================
@@ -435,26 +435,59 @@ LogicalResult GPUShuffleConversion::matchAndRewrite(
return rewriter.notifyMatchFailure(
shuffleOp, "shuffle width and target subgroup size mismatch");
+ // Ensure the offset is a signless/unsigned integer.
+ if (adaptor.getOffset().getType().isSignedInteger())
+ return rewriter.notifyMatchFailure(
+ shuffleOp, "shuffle offset must be a signless/unsigned integer");
----------------
Hsiangkai wrote:
Done.
https://github.com/llvm/llvm-project/pull/139105
More information about the Mlir-commits
mailing list