diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-05-09 22:27:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-05-09 22:27:34 +0000 |
commit | 0d2fc1a501c7f4e3be014eadc0761941ac2995ff (patch) | |
tree | 68d88a60b2d352a1bd4112d8cfd1701f828435ed /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b524d5e5537507f066f2fcdcb24b3be3c9a4c566 (diff) | |
download | bcm5719-llvm-0d2fc1a501c7f4e3be014eadc0761941ac2995ff.tar.gz bcm5719-llvm-0d2fc1a501c7f4e3be014eadc0761941ac2995ff.zip |
[InstCombine] Teach SimplifyDemandedBits that udiv doesn't demand low dividend bits that are zero in the divisor
This is safe as long as the udiv is not exact. The pattern is not common in
C++ code, but comes up all the time in code generated by XLA's GPU backend.
Differential Revision: https://reviews.llvm.org/D46647
llvm-svn: 331933
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions