If only user of a vreg is an copy instruction to export copy of vreg out of current...
authorDevang Patel <dpatel@apple.com>
Tue, 21 Sep 2010 20:56:33 +0000 (20:56 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 21 Sep 2010 20:56:33 +0000 (20:56 +0000)
commit44cfe14445bcdd591d4f2ed59fe73582360bd8c9
tree243bc505c2bad633b26cea5aab5fff7d7307a32e
parent161f0caaf9c86cb08b8735936f2c5f33420f80ae
If only user of a vreg is an copy instruction to export copy of vreg out of current basic block then insert DBG_VALUE so that debug value of the variable is also transfered to new vreg.
Testcase is in r114476.
This fixes radar 8412415.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114478 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp