| commit | 01e2e79abf0a69d4e041a87463ccd0afc27b603a | [log] [tgz] |
|---|---|---|
| author | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Wed May 02 23:55:23 2018 +0000 |
| committer | Nemanja Ivanovic <nemanja.i.ibm@gmail.com> | Wed May 02 23:55:23 2018 +0000 |
| tree | 65779c2b4913591b6424a1ae4f7a071353b23a22 | |
| parent | 1f6277eb4d905ac46df120e1a059fc67790ca62c [diff] |
[PowerPC] Implement isMaskAndCmp0FoldingBeneficial Sinking the and closer to a compare against zero is beneficial on PPC as it allows us to emit record-form instructions. In the future, we may expand this to a larger set of operations that feed compares against zero since PPC has lots of record-form instructions. Differential revision: https://reviews.llvm.org/D46060 llvm-svn: 331416