commit | a2daaca0d64e76071464730ee00755ad81695d70 | [log] [tgz] |
---|---|---|
author | Tony Jiang <jtony@ca.ibm.com> | Tue Sep 19 16:14:37 2017 +0000 |
committer | Tony Jiang <jtony@ca.ibm.com> | Tue Sep 19 16:14:37 2017 +0000 |
tree | 6c316e83138db9999176ba7ece77f79f8c3baa7a | |
parent | fd1b754b1d13417def7c62bd53d7ffeca1a1dba7 [diff] |
[PowerPC Peephole] Constants into a join add, use ADDI over LI/ADD. Two blocks prior to the join each perform an li and the the join block has an add using the initialized register. Optimize each predecessor block to instead use addi and delete the li's and add. Differential Revision: https://reviews.llvm.org/D36734 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313639 91177308-0d34-0410-b5e6-96231b3b80d8