diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-20 18:00:27 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-03-20 18:00:27 +0000 |
commit | 37cf25c3c6819d3ed55915903b5cea91f9d367b0 (patch) | |
tree | bba326a807c179178ef4cd887585d2e561e6042b /libcxx/test/std/utilities | |
parent | becd797a97847270df668b646da9d1d9e9853409 (diff) | |
download | bcm5719-llvm-37cf25c3c6819d3ed55915903b5cea91f9d367b0.tar.gz bcm5719-llvm-37cf25c3c6819d3ed55915903b5cea91f9d367b0.zip |
[InstCombine] Fold add nuw + uadd.with.overflow
Fold add nuw and uadd.with.overflow with constants if the
addition does not overflow.
Part of https://bugs.llvm.org/show_bug.cgi?id=38146.
Patch by Dan Robertson.
Differential Revision: https://reviews.llvm.org/D59471
llvm-svn: 356584
Diffstat (limited to 'libcxx/test/std/utilities')
0 files changed, 0 insertions, 0 deletions