Debug info: If the RegisterCoalescer::reMaterializeTrivialDef() is
authorAdrian Prantl <aprantl@apple.com>
Thu, 4 Dec 2014 22:29:04 +0000 (22:29 +0000)
committerAdrian Prantl <aprantl@apple.com>
Thu, 4 Dec 2014 22:29:04 +0000 (22:29 +0000)
commitfb8dcb45c614beadceea5672d455cb0cd431d2ec
treeb4090b34b3503fd51b377244debe1a914448de78
parent76b1313e75a594f3a5e128fff2c2fa1a1d339309
Debug info: If the RegisterCoalescer::reMaterializeTrivialDef() is
eliminating all uses of a vreg, update any DBG_VALUE describing that vreg
to point to the rematerialized register instead.

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