diff options
| author | Brian Gesiak <modocache@gmail.com> | 2017-04-13 16:44:25 +0000 |
|---|---|---|
| committer | Brian Gesiak <modocache@gmail.com> | 2017-04-13 16:44:25 +0000 |
| commit | 0a7894d99c0842a4cd870b40c400f31db6798eab (patch) | |
| tree | 72551193c61dfdb05391ae1024ba28021cdd3cbb /llvm/lib/Analysis/ValueTracking.cpp | |
| parent | d6fea19a97fffa702f697b4d084888be03357e08 (diff) | |
| download | bcm5719-llvm-0a7894d99c0842a4cd870b40c400f31db6798eab.tar.gz bcm5719-llvm-0a7894d99c0842a4cd870b40c400f31db6798eab.zip | |
[Analysis] Support bitreverse in -demanded-bits pass
Summary:
* Add a bitreverse case in the demanded bits analysis pass.
* Add tests for the bitreverse (and bswap) intrinsic in the
demanded bits pass.
* Add a test case to the BDCE tests: that manipulations to
high-order bits are eliminated once the bits are reversed
and then right-shifted.
Reviewers: mkuper, jmolloy, hfinkel, trentxintong
Reviewed By: jmolloy
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D31857
llvm-svn: 300215
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
0 files changed, 0 insertions, 0 deletions

