Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [PowerPC] Fix some missed optimization opportunities in combineSetCC | Li Jia He | 2018-10-26 | 1 | -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 He | 2018-10-26 | 1 | -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 |