[Mlir-commits] [mlir] [mlir][spirv] Add support for SwitchOp (PR #168713)

Igor Wodiany llvmlistbot at llvm.org
Thu Nov 20 02:18:36 PST 2025


IgWod-IMG wrote:

I have added a Dialect test for `spirv.mlir.selection` that uses `spirv.Switch` and added an example to docs.

Since I developed this patch, I have realised that the deserializer cannot currently wire up block arguments for switch, but I’ll do it as a separate PR – it fails gracefully with an error message, so doing it as a next step makes sense.

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


More information about the Mlir-commits mailing list