[Mlir-commits] [mlir] [mlir][spirv] Add `GroupNonUniformBallotFindLSB` and `GroupNonUniformBallotFindMSB` ops (PR #104791)
Angel Zhang
llvmlistbot at llvm.org
Mon Aug 19 08:32:43 PDT 2024
================
@@ -83,6 +83,118 @@ def SPIRV_GroupNonUniformBallotOp : SPIRV_Op<"GroupNonUniformBallot", []> {
// -----
+def SPIRV_GroupNonUniformBallotFindLSBOp : SPIRV_Op<"GroupNonUniformBallotFindLSB", []> {
+ let summary = [{
+ Find the least significant bit set to 1 in Value, considering only the
+ bits in Value required to represent all bits of the group's invocations.
+ If none of the considered bits is set to 1, the resulting value is
+ undefined.
+ }];
+
+ let description = [{
+ Result Type must be a scalar of integer type, whose Signedness operand
----------------
angelz913 wrote:
Fixed similar issues in other places as well
https://github.com/llvm/llvm-project/pull/104791
More information about the Mlir-commits
mailing list