summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/test-and-cmp-folding.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Implement isMaskAndCmp0FoldingBeneficialNemanja Ivanovic2018-05-021-0/+53
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
OpenPOWER on IntegriCloud