Commit 1454fc9
authored
[mlir][spirv] Add definition for OpGroupNonUniformBallotBitCount (#126055)
A new constraint is also added to restrict attributes values for SPIR-V
attributes. Ideally this should use `ConfinedAttr` with a custom
constraint directly on the operand, however it seems TableGen does not
allow using that with SPIR-V attributes. I suspect it is because SPIR-V
attributes do not derive from the generic MLIR attribute class -
TableGen complains about missing enum field.1 parent 52b5947 commit 1454fc9
File tree
4 files changed
+378
-232
lines changed- mlir
- include/mlir/Dialect/SPIRV/IR
- test
- Dialect/SPIRV/IR
- Target/SPIRV
4 files changed
+378
-232
lines changed
0 commit comments