[Mlir-commits] [mlir] [mlir][spirv] Add 8-bit float type emulation (PR #148811)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Jul 21 09:29:39 PDT 2025
================
@@ -196,6 +196,9 @@ def ConvertArithToSPIRVPass : Pass<"convert-arith-to-spirv"> {
"bool", /*default=*/"true",
"Emulate narrower scalar types with 32-bit ones if not supported by "
"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