commit | e1c51407af94a581ceaa3631ee10cc83635bf120 | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@codeaurora.org> | Thu Mar 02 20:48:11 2017 +0000 |
committer | Chad Rosier <mcrosier@codeaurora.org> | Thu Mar 02 20:48:11 2017 +0000 |
tree | 8fd1741d8d6de76ecec91d94e57a162bb310b2ae | |
parent | e5601be82ebb60dd54e9e880cacc50ff9e691bdd [diff] |
[AArch64] Extend redundant copy elimination pass to handle non-zero stores. This patch extends the current functionality of the AArch64 redundant copy elimination pass to handle non-zero cases such as: BB#0: cmp x0, #1 b.eq .LBB0_1 .LBB0_1: orr x0, xzr, #0x1 ; <-- redundant copy; x0 known to hold #1. Differential Revision: https://reviews.llvm.org/D29344 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@296809 91177308-0d34-0410-b5e6-96231b3b80d8