Debug info: Don't crash in SelectionDAGISel when a vreg that is being
authorAdrian Prantl <aprantl@apple.com>
Sat, 5 Oct 2013 00:08:27 +0000 (00:08 +0000)
committerAdrian Prantl <aprantl@apple.com>
Sat, 5 Oct 2013 00:08:27 +0000 (00:08 +0000)
commiteacbfd1d512b97b5551ce9f30bf85ba000d9da42
treee4f6744074ec008a4fe1f9b3b3d72eec88ee560f
parent22852c76f5791f98aadb176ebcf15af5217a67eb
Debug info: Don't crash in SelectionDAGISel when a vreg that is being
pointed to by a dbg_value belonging to a function argument is eliminated
during instruction selection.
rdar://problem/15094721.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192011 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/DebugInfo/ARM/selectiondag-deadcode.ll [new file with mode: 0644]