diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-16 20:31:41 +0000 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-04-16 20:31:41 +0000 |
commit | 52b24ee932aabdea16b603f405359f5270dfd38b (patch) | |
tree | 5cfd632542ded69c2e5aefd79dbae9877dfe8d46 /llvm/lib/Support/TimeProfiler.cpp | |
parent | 765f0183815556be357429dbc3421fcb00e0e920 (diff) | |
download | llvm-52b24ee932aabdea16b603f405359f5270dfd38b.zip llvm-52b24ee932aabdea16b603f405359f5270dfd38b.tar.gz llvm-52b24ee932aabdea16b603f405359f5270dfd38b.tar.bz2 |
[CVP] Simplify umulo and smulo that cannot overflow
If a umul.with.overflow or smul.with.overflow operation cannot
overflow, simplify it to a simple mul nuw / mul nsw. After the
refactoring in D60668 this is just a matter of removing an
explicit check against multiplications.
Differential Revision: https://reviews.llvm.org/D60791
llvm-svn: 358521
Diffstat (limited to 'llvm/lib/Support/TimeProfiler.cpp')
0 files changed, 0 insertions, 0 deletions