summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2018-10-29 16:54:37 +0000
committerLeonard Chan <leonardchan@google.com>2018-10-29 16:54:37 +0000
commit905abe5b5d8bfb0e7819d9215a4b52c9f3296414 (patch)
treeca1adf55a814679c655ec95d0294f51454ab7cfc /llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp
parent71c989ae1f77b31fb4ee50d9f9510a6f839e381b (diff)
downloadbcm5719-llvm-905abe5b5d8bfb0e7819d9215a4b52c9f3296414.tar.gz
bcm5719-llvm-905abe5b5d8bfb0e7819d9215a4b52c9f3296414.zip
[Intrinsic] Signed and Unsigned Saturation Subtraction Intirnsics
Add an intrinsic that takes 2 integers and perform saturation subtraction on them. This is a part of implementing fixed point arithmetic in clang where some of the more complex operations will be implemented as intrinsics. Differential Revision: https://reviews.llvm.org/D53783 llvm-svn: 345512
Diffstat (limited to 'llvm/lib/Target/AMDGPU/SIShrinkInstructions.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud