[AArch64][Redundant Copy Elim] Add support for CMN and shifted imm.
authorChad Rosier <mcrosier@codeaurora.org>
Mon, 6 Mar 2017 21:20:00 +0000 (21:20 +0000)
committerChad Rosier <mcrosier@codeaurora.org>
Mon, 6 Mar 2017 21:20:00 +0000 (21:20 +0000)
commit7a4af426ad02d9b86fc2ff599b01d66274ae86d8
tree7d98485385ed1712df955fef86ef5df150c9894e
parent0de969bf83bf19d76d84d2b0178a36a6b9b98257
[AArch64][Redundant Copy Elim] Add support for CMN and shifted imm.

This patch extends the current functionality of the AArch64 redundant copy
elimination pass to handle CMN instructions as well as a shifted
immediates.

Differential Revision: https://reviews.llvm.org/D30576.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@297078 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
test/CodeGen/AArch64/machine-copy-remove.mir