diff options
author | George Mitenkov <georgemitenk0v@gmail.com> | 2020-07-30 10:53:06 +0300 |
---|---|---|
committer | George Mitenkov <georgemitenk0v@gmail.com> | 2020-07-30 11:22:44 +0300 |
commit | 18805320365314ecbbebc65279c142a12ae9c0c2 (patch) | |
tree | 704ee107165bd37fc519403ec8aad354980a07eb /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | 0037a5f894345eef5552d6620548cc8ad5900b41 (diff) | |
download | llvm-18805320365314ecbbebc65279c142a12ae9c0c2.zip llvm-18805320365314ecbbebc65279c142a12ae9c0c2.tar.gz llvm-18805320365314ecbbebc65279c142a12ae9c0c2.tar.bz2 |
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions