[Mlir-commits] [mlir] [mlir][spirv] Add 8-bit float type emulation (PR #148811)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Jul 21 09:29:35 PDT 2025
================
@@ -416,7 +419,10 @@ def ConvertControlFlowToSPIRVPass : Pass<"convert-cf-to-spirv"> {
Option<"emulateLT32BitScalarTypes", "emulate-lt-32-bit-scalar-types",
"bool", /*default=*/"true",
"Emulate narrower scalar types with 32-bit ones if not supported by"
- " the target">
+ " the target">,
+ Option<"emulateUnsupportedFloatTypes", "emulate-unsupported-float-types",
+ "bool", /*default=*/"true",
+ "Emulate unsupported float types by emulating them with integer types of same bit width">
----------------
kuhar wrote:
```suggestion
"Emulate unsupported float types by representing them with integer types of same bit width">
```
https://github.com/llvm/llvm-project/pull/148811
More information about the Mlir-commits
mailing list