[Mlir-commits] [mlir] [mlir][Arith] Add FTZ (Flush-to-Zero) fast-math flag (PR #112700)
Jakub Kuderski
llvmlistbot at llvm.org
Thu Oct 17 06:16:54 PDT 2024
https://github.com/kuhar commented:
I wonder if this should be something else than a fast math flag, e.g., a rounding mode or an execution mode. In SPIR-V it's the latter and you can only set it per the whole program: https://registry.khronos.org/SPIR-V/specs/unified1/SPIRV.html#_execution_mode:~:text=4460-,DenormFlushToZero,-Any%20denormalized%20value, so I don't think we will able to lower FTZ on individual arith ops when lowering to SPIR-V.
https://github.com/llvm/llvm-project/pull/112700
More information about the Mlir-commits
mailing list