diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2014-11-05 00:59:59 +0000 |
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2014-11-05 00:59:59 +0000 |
| commit | bf7550e7ecabb10e7a17e6d5067aa8c87810b46b (patch) | |
| tree | 2f5168b432205c82ea2c9cecf095f9dfc2a8408b /llvm/examples | |
| parent | 629680e499c5df3f8965bfbc5b6100261dce0f5a (diff) | |
| download | bcm5719-llvm-bf7550e7ecabb10e7a17e6d5067aa8c87810b46b.tar.gz bcm5719-llvm-bf7550e7ecabb10e7a17e6d5067aa8c87810b46b.zip | |
InstSimplify: Exact shifts of X by Y are X if X has the lsb set
Exact shifts may not shift out any non-zero bits. Use computeKnownBits
to determine when this occurs and just return the left hand side.
This fixes PR21477.
llvm-svn: 221325
Diffstat (limited to 'llvm/examples')
0 files changed, 0 insertions, 0 deletions

