OSDN Git Service

[AArch64] Coalesce Copy Zero during instruction selection
authorHaicheng Wu <haicheng@codeaurora.org>
Sun, 18 Feb 2018 13:51:33 +0000 (13:51 +0000)
committerHaicheng Wu <haicheng@codeaurora.org>
Sun, 18 Feb 2018 13:51:33 +0000 (13:51 +0000)
commitd8f57105010cc7e78026e511d5def873fc91e0e7
tree5aad3e7cd714d344e4a14b59d1775621dceaef6e
parent52d33aeae9bac896be4513869ab541f62f51b679
[AArch64] Coalesce Copy Zero during instruction selection

Add special case for copy of zero to avoid a double copy.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@325459 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
test/CodeGen/AArch64/arm64-addr-type-promotion.ll
test/CodeGen/AArch64/arm64-cse.ll
test/CodeGen/AArch64/copy-zero-reg.ll [new file with mode: 0644]
test/CodeGen/AArch64/i128-fast-isel-fallback.ll