1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-26 04:32:44 +01:00
llvm-mirror/lib/Transforms
Sanjoy Das eb77be5924 [CVP] Remove some {s|u}add.with.overflow checks.
Summary:
This adds logic to CVP to remove some overflow checks.  It uses LVI to remove
operations with at least one constant.  Specifically, this can remove many
overflow intrinsics immediately following an overflow check in the source code,
such as:

if (x < INT_MAX)
    ... x + 1 ...

Patch by Joel Galenson!

Reviewers: sanjoy, regehr

Reviewed By: sanjoy

Subscribers: fhahn, pirama, srhines, llvm-commits

Differential Revision: https://reviews.llvm.org/D39483

llvm-svn: 317911
2017-11-10 19:13:35 +00:00
..
Coroutines
Hello
InstCombine
Instrumentation
IPO
ObjCARC
Scalar [CVP] Remove some {s|u}add.with.overflow checks. 2017-11-10 19:13:35 +00:00
Utils Add a wrapper function to set branch weights metadata. 2017-11-09 22:52:20 +00:00
Vectorize [SLP] Fix PR23510: Try to find best possible vectorizable stores. 2017-11-09 19:07:16 +00:00
CMakeLists.txt
LLVMBuild.txt