diff options
author | Nikita Popov <npopov@redhat.com> | 2022-04-25 13:18:31 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2022-04-25 14:22:43 +0200 |
commit | e8945110d238289886cc51cafe9461bfcf109f6f (patch) | |
tree | 7d39140564febcf6ba111e441258e727b7221c31 /llvm/lib/CodeGen/LiveDebugVariables.cpp | |
parent | d1762fc454c0d7ee0bcffe87e798f67b6c43c1d2 (diff) | |
download | llvm-e8945110d238289886cc51cafe9461bfcf109f6f.zip llvm-e8945110d238289886cc51cafe9461bfcf109f6f.tar.gz llvm-e8945110d238289886cc51cafe9461bfcf109f6f.tar.bz2 |
[InstCombine] Remove redundant unsigned underflow fold (NFCI)
This is now handled as a combination of two other folds:
(A+B) <= A & (A+B) != 0 --> (A+B)-1 < A
(A+B)-1 < A --> -B < A
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions