diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-02-17 15:58:48 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-02-17 15:58:48 +0000 |
commit | bee207354271cec26da6c4866b0e80670fdc5082 (patch) | |
tree | 3e7088fb48d66100d640a40e6d7946f72ec826ce /clang/test/Driver/riscv-features.c | |
parent | d72c1a0c5c66bc68b272518789bbebec307c9771 (diff) | |
download | bcm5719-llvm-bee207354271cec26da6c4866b0e80670fdc5082.tar.gz bcm5719-llvm-bee207354271cec26da6c4866b0e80670fdc5082.zip |
[InstCombine] reduce unsigned saturated add with 'not' op
We want to use the sum in the icmp to allow matching with
m_UAddWithOverflow and eliminate the 'not'. This is discussed
in D51929 and is another step towards solving PR14613:
https://bugs.llvm.org/show_bug.cgi?id=14613
(The matching here is incomplete. Trying to take minimal steps
to make sure we don't induce infinite looping from existing
canonicalizations of the 'select'.)
llvm-svn: 354221
Diffstat (limited to 'clang/test/Driver/riscv-features.c')
0 files changed, 0 insertions, 0 deletions