[MLIR][SPIRVToLLVM] Conversion of GLSL ops to LLVM intrinsics
This patch introduces new intrinsics in LLVM dialect: - `llvm.intr.floor` - `llvm.intr.maxnum` - `llvm.intr.minnum` - `llvm.intr.smax` - `llvm.intr.smin` These intrinsics correspond to SPIR-V ops from GLSL extended instruction set (`spv.GLSL.Floor`, `spv.GLSL.FMax`, `spv.GLSL.FMin`, `spv.GLSL.SMax` and `spv.GLSL.SMin` respectively). Also conversion patterns for them were added. Reviewed By: antiagainst Differential Revision: https://reviews.llvm.org/D84661
Loading
Please sign in to comment