diff options
author | ergawy <kareem.ergawy@gmail.com> | 2020-12-23 15:32:31 +0100 |
---|---|---|
committer | KareemErgawy-TomTom <kareem.ergawy@gmail.com> | 2020-12-23 15:47:19 +0100 |
commit | 1d0dc9be6d72915d2bb632c7a46645289405dcbf (patch) | |
tree | a77103ea325480ee21fc6e5a20372ba6b1e1ad6a /lldb/source/Commands/CommandObjectCommands.cpp | |
parent | 031743cb5b3c6c2df85a67d8533ef72a95e76cdc (diff) | |
download | llvm-1d0dc9be6d72915d2bb632c7a46645289405dcbf.zip llvm-1d0dc9be6d72915d2bb632c7a46645289405dcbf.tar.gz llvm-1d0dc9be6d72915d2bb632c7a46645289405dcbf.tar.bz2 |
[MLIR][SPIRV] Add rewrite pattern to convert select+cmp into GLSL clamp.
Adds rewrite patterns to convert select+cmp instructions into clamp
instructions whenever possible. Support is added to convert:
- FOrdLessThan, FOrdLessThanEqual to GLSLFClampOp.
- SLessThan, SLessThanEqual to GLSLSClampOp.
- ULessThan, ULessThanEqual to GLSLUClampOp.
Reviewed By: mravishankar
Differential Revision: https://reviews.llvm.org/D93618
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions