| commit | bc2cfc229121db69b83e652df87d33005e4b86e3 | [log] [tgz] |
|---|---|---|
| author | Elliot Colp <colpell@ca.ibm.com> | Wed Jul 06 18:13:11 2016 +0000 |
| committer | Elliot Colp <colpell@ca.ibm.com> | Wed Jul 06 18:13:11 2016 +0000 |
| tree | be0465ecd3926fff0dad58553031c46b1c047e3f | |
| parent | 1f685e0186ae86a2e580fa860de94a77dc64c089 [diff] |
[SystemZ] Remove AND mask of bottom 6 bits when result is used for shift/rotate On SystemZ, shift and rotate instructions only use the bottom 6 bits of the shift/rotate amount. Therefore, if the amount is ANDed with an immediate mask that has all of the bottom 6 bits set, we can remove the AND operation entirely. Differential Revision: http://reviews.llvm.org/D21854 llvm-svn: 274650