summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/PowerPC/combine-setcc.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Fix some missed optimization opportunities in combineSetCCLi Jia He2018-10-261-56/+28
| | | | | | | | | | | For both operands are bool, short, int, long, long long, add the following optimization. 1. 0-x == y --> x+y ==0 2. 0-x != y --> x+y != 0 Review: nemanjai Differential Revision: https://reviews.llvm.org/D53360 llvm-svn: 345366
* [PowerPC][NFC] Add tests for some missed optimization opportunities in ↵Li Jia He2018-10-261-0/+436
combineSetCC For both operands are bool, short, int, long, long long, add the following optimization test case. 1. 0-x == y --> x+y ==0 2. 0-x != y --> x+y != 0 Review: nemanjai Differential Revision: https://reviews.llvm.org/D53358 llvm-svn: 345365
OpenPOWER on IntegriCloud