This patch eanble register coalescing to coalesce the following:
authorWeiming Zhao <weimingz@codeaurora.org>
Thu, 23 Jul 2015 19:24:53 +0000 (19:24 +0000)
committerWeiming Zhao <weimingz@codeaurora.org>
Thu, 23 Jul 2015 19:24:53 +0000 (19:24 +0000)
commitb33a5557f47592800f538353b4c556d2b8dd12fa
tree61608a17d1ce8eae155b00695809a9ea525903e9
parentc96dcb09148518694528b8d7e9ae4235b4a7f62e
This patch eanble register coalescing to coalesce the following:

  %vreg2<def> = MOVi32imm 1; GPR32:%vreg2
  %W1<def> = COPY %vreg2; GPR32:%vreg2
into:
  %W1<def> = MOVi32imm 1
Patched by Lawrence Hu (lawrence@codeaurora.org)

llvm-svn: 243033
llvm/lib/Target/AArch64/AArch64InstrInfo.cpp
llvm/test/CodeGen/AArch64/arm64-coalescing-MOVi32imm.ll [new file with mode: 0644]