[Mlir-commits] [mlir] [mlir][spirv] Add atan and atan2 pattern to MathToSPIRV Conversion pass (PR #102633)
Jakub Kuderski
llvmlistbot at llvm.org
Fri Aug 9 11:07:33 PDT 2024
kuhar wrote:
> > Could we add glsl support in one sweep? https://registry.khronos.org/SPIR-V/specs/unified1/GLSL.std.450.html#:~:text=%3Cid%3E%0Ax-,Atan%0A%0AArc%20tangent,-.%20Result%20is%20an
>
> I updated it for glsl only for atan as atan2 op is not available in spirv. Thanks for the quick review!
Can we use this one: https://registry.khronos.org/SPIR-V/specs/unified1/GLSL.std.450.html#:~:text=Atan2%0A%0AArc%20tangent.%20Result%20is%20an%20angle ?
https://github.com/llvm/llvm-project/pull/102633
More information about the Mlir-commits
mailing list