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)
commit8d5c72d5135f9d11f2b3791c9b6cffba291a11fd
tree96865dd113086466c15f8392c598e79b7b03a643
parent6cbc095f13d49b3df8269cda4774ffecdd40aebe
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)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243033 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64InstrInfo.cpp
test/CodeGen/AArch64/arm64-coalescing-MOVi32imm.ll [new file with mode: 0644]