diff options
author | Florian Hahn <flo@fhahn.com> | 2022-05-13 13:19:41 +0100 |
---|---|---|
committer | Florian Hahn <flo@fhahn.com> | 2022-05-13 13:19:41 +0100 |
commit | 8e6d481f3b7da224f8dd28a06fa91602e824db18 (patch) | |
tree | 307523d319688153106b5455f447d2f4d779d4f3 /llvm/lib/CodeGen/CodeGenPrepare.cpp | |
parent | d2396d896ee12ad20bc740174edfce2120d742b2 (diff) | |
download | llvm-8e6d481f3b7da224f8dd28a06fa91602e824db18.zip llvm-8e6d481f3b7da224f8dd28a06fa91602e824db18.tar.gz llvm-8e6d481f3b7da224f8dd28a06fa91602e824db18.tar.bz2 |
[ConstraintElimination] Simplify ssub(A,B) if B s>=b && B s>=0.
A first patch to use the reasoning in ConstraintElimination to simplify
sub with overflow to a regular sub, if the operation is guaranteed to
not overflow.
Reviewed By: spatel
Differential Revision: https://reviews.llvm.org/D125264
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions