YixingZhang007 3a5cc953dc
[SPIRV] Add FPEncoding operand support for OpTypeFloat (#156871)
This PR introduces support for `FPEncoding` operand for SPIR-V
instruction `OpTypeFloat`, with the following main changes:
1. Introduces `FPEncoding` enum class to represent floating-point
encodings, such as `BFloat16KHR`, in SPIR-V.
2. Updates SPIR-V instruction `OpTypeFloat` to accept `FPEncoding` as
its second input operand.
3. Updates SPIR-V type creation to handle new encoding requirements.

This PR enables support for the BFloat floating-point type in SPIR-V.
2025-09-16 12:21:43 +02:00
..
2025-03-21 19:56:35 -04:00