commit | 44ed3ae63d64853f02372e3432887d5a5116e12e | [log] [tgz] |
---|---|---|
author | Li Jia He <hljhehlj@cn.ibm.com> | Fri Oct 26 02:34:57 2018 +0000 |
committer | Li Jia He <hljhehlj@cn.ibm.com> | Fri Oct 26 02:34:57 2018 +0000 |
tree | 23f8d41ed1912c35c16a9749989d3d4d3e696ea7 | |
parent | 7a69d009b10ef16fc5fb34f4b0026e07fa8a6930 [diff] |
[PowerPC][NFC] Add tests for some missed optimization opportunities in 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@345357 91177308-0d34-0410-b5e6-96231b3b80d8