commit | b325eb110cae91331ba16fabe7517790f4b4f545 | [log] [tgz] |
---|---|---|
author | Leonard Chan <leonardchan@google.com> | Tue Oct 16 17:35:41 2018 +0000 |
committer | Leonard Chan <leonardchan@google.com> | Tue Oct 16 17:35:41 2018 +0000 |
tree | 1ed2233f4ad3758dd306b31430223f63766b3e87 | |
parent | ae40630a7b6c1932bf5a3c0a66265afb52a402dc [diff] |
[Intrinsic] Signed Saturation Addition Intrinsic Add an intrinsic that takes 2 integers and perform saturation addition 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/D53053 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344629 91177308-0d34-0410-b5e6-96231b3b80d8