Rewrite handling of DBG_VALUE; previous algorithm
authorDale Johannesen <dalej@apple.com>
Fri, 12 Feb 2010 18:40:17 +0000 (18:40 +0000)
committerDale Johannesen <dalej@apple.com>
Fri, 12 Feb 2010 18:40:17 +0000 (18:40 +0000)
commit2d1ec73d94941805de9f4392dbec052ce399ed58
tree4335ae7cc15a4c39e3118f430baa09b142b41e9b
parentc3b6ffc431bbf01f615c6695a0dc1b9368102cad
Rewrite handling of DBG_VALUE; previous algorithm
didn't handle
X =
Y<dead> = use X
DBG_VALUE(X)
I was hoping to avoid this approach as it's slower,
but I don't think it can be done.

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