If the only use of something is a DEBUG_VALUE, don't
authorDale Johannesen <dalej@apple.com>
Wed, 27 Jan 2010 22:12:36 +0000 (22:12 +0000)
committerDale Johannesen <dalej@apple.com>
Wed, 27 Jan 2010 22:12:36 +0000 (22:12 +0000)
commit9514fcbae518cfe3e4e4ea1fcc279babbdc38095
tree0bfec902bd9c26914ab18af4f0a789cb7e43a834
parent714eb731b2df6b4eb5221e76297d4c691ab91b3e
If the only use of something is a DEBUG_VALUE, don't
let that stop it from being deleted, and change the
DEBUG_VALUE value to undef.

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