commit | 61aa414e834418a257857e4755fce1ecba847f43 | [log] [tgz] |
---|---|---|
author | Li Jia He <hljhehlj@cn.ibm.com> | Fri Oct 26 05:02:10 2018 +0000 |
committer | Li Jia He <hljhehlj@cn.ibm.com> | Fri Oct 26 05:02:10 2018 +0000 |
tree | 8fb005380b2a39c6aa2501d16e7f444d68fb1046 | |
parent | bd16cc646c6cedc42a9cc7c32f1c52275d63da59 [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@345365 91177308-0d34-0410-b5e6-96231b3b80d8