Adding a similar decomposition for exponential minus one to the SPIRV
backends along with the necessary tests.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D118081
[mlir] Add support for ExpM1 to GLSL/OpenCL SPIRV Backends ClosedPublic Authored by rsuderman on Jan 24 2022, 2:55 PM.
Details Summary Adding a similar decomposition for exponential minus one to the SPIRV
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 24 2022, 3:21 PM This revision was landed with ongoing or failed builds.Jan 24 2022, 3:42 PM Closed by commit rG3e746c6d9ef0: [mlir] Add support for ExpM1 to GLSL/OpenCL SPIRV Backends (authored by rsuderman). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 402704 mlir/lib/Conversion/MathToSPIRV/MathToSPIRV.cpp
mlir/test/Conversion/MathToSPIRV/math-to-glsl-spirv.mlir
mlir/test/Conversion/MathToSPIRV/math-to-opencl-spirv.mlir
|
I think we can use operation.getType() directly here,