1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00
llvm-mirror/lib/Transforms
David Green 7d90c426c8 [InstCombine] Canonicalize sadd.with.overflow with clamp to sadd.sat
This adds to D69245, adding extra signed patterns for folding from a
sadd_with_overflow to a sadd_sat. These are more complex than the
unsigned patterns, as the overflow can occur in either direction.

For the add case, the positive overflow can only occur if both of the
values are positive (same for both the values being negative). So there
is an extra select on whether to use the positive or negative overflow
limit.

Differential Revision: https://reviews.llvm.org/D69252
2019-11-17 10:42:39 +00:00
..
AggressiveInstCombine Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
CFGuard Convert files added in d157a9bc8ba1 to unix line endings. 2019-10-28 14:39:45 -04:00
Coroutines Sink all InitializePasses.h includes 2019-11-13 16:34:37 -08:00
Hello Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
InstCombine [InstCombine] Canonicalize sadd.with.overflow with clamp to sadd.sat 2019-11-17 10:42:39 +00:00
Instrumentation [GCOV] Skip artificial functions from being emitted 2019-11-15 14:23:11 -05:00
IPO [ThinLTO] Fix -Wunused-function in NDEBUG builds after llvmorg-10-init-9933-g3d708bf5c26 2019-11-15 10:00:23 -08:00
ObjCARC Add missing includes needed to prune LLVMContext.h include, NFC 2019-11-14 15:23:15 -08:00
Scalar Remove Support/Options.h, it is unused 2019-11-15 13:32:52 -08:00
Utils [SimplifyCFG] propagate fast-math-flags (FMF) from phi to select 2019-11-15 16:14:35 -05:00
Vectorize Revert "[LoadStoreVectorize] Use '||' instead of '|' between sides with function calls. NFCI." 2019-11-15 12:49:35 -08:00
CMakeLists.txt Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00
LLVMBuild.txt Add Windows Control Flow Guard checks (/guard:cf). 2019-10-28 15:19:39 +00:00