diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-02-21 23:35:48 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2017-02-21 23:35:48 +0000 |
commit | 2fdf2a1a189ce2d0462eb1902a88f5210b963063 (patch) | |
tree | cf28f9b484ce67fa9098bb72532749abe3f54aa0 /clang/lib/Frontend/InitPreprocessor.cpp | |
parent | e6e206d4b48146b194b04f43a3dec4d32d568019 (diff) | |
download | bcm5719-llvm-2fdf2a1a189ce2d0462eb1902a88f5210b963063.tar.gz bcm5719-llvm-2fdf2a1a189ce2d0462eb1902a88f5210b963063.zip |
AMDGPU: Redefine clamp node as clamp 0.0-1.0
Change implementation to use max instead of add.
min/max/med3 do not flush denormals regardless of the mode,
so it is OK to use it whether or not they are enabled.
Also allow using clamp with f16, and use knowledge
of dx10_clamp.
llvm-svn: 295788
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions