diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-31 20:48:26 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-31 20:48:26 +0000 |
commit | 7bafae55c01dda8478aeff74a8d657a4148630af (patch) | |
tree | 7c0b11691f9dbb847ce733ffd832d212973cca32 /llvm/lib/MC/MCCodeView.cpp | |
parent | d43509305674e89e6ac482b5a76c2ac20c2de1c4 (diff) | |
download | bcm5719-llvm-7bafae55c01dda8478aeff74a8d657a4148630af.tar.gz bcm5719-llvm-7bafae55c01dda8478aeff74a8d657a4148630af.zip |
Reapply [CVP] Simplify non-overflowing saturating add/sub
If we can determine that a saturating add/sub will not overflow based
on range analysis, convert it into a simple binary operation. This is
a sibling transform to the existing with.overflow handling.
Reapplying this with an additional check that the saturating intrinsic
has integer type, as LVI currently does not support vector types.
Differential Revision: https://reviews.llvm.org/D62703
llvm-svn: 362263
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
0 files changed, 0 insertions, 0 deletions