diff options
author | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-10 20:22:09 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@codeaurora.org> | 2016-05-10 20:22:09 +0000 |
commit | 4e6cda2db5d464d814a440b3e44c9d76ba12a00a (patch) | |
tree | 6f5b3cd7876f940e5cd6641b77185c4928b8ea49 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | 7347fce4c3cf2254ac22058059af4f2260260b15 (diff) | |
download | llvm-4e6cda2db5d464d814a440b3e44c9d76ba12a00a.zip llvm-4e6cda2db5d464d814a440b3e44c9d76ba12a00a.tar.gz llvm-4e6cda2db5d464d814a440b3e44c9d76ba12a00a.tar.bz2 |
[InstCombine] Fold icmp ugt/ult (udiv i32 C2, X), C1.
This patch adds support for two optimizations:
icmp ugt (udiv C2, X), C1 -> icmp ule X, C2/(C1+1)
icmp ult (udiv C2, X), C1 -> icmp ugt X, C2/C1
Differential Revision: http://reviews.llvm.org/D20123
llvm-svn: 269109
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions