Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add a
commiteff5e69c82096812acec0c5c6f135c755a1632d2
authorNick Lewycky <nicholas@mxc.ca>
Sun, 20 Feb 2011 18:05:56 +0000 (20 18:05 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 20 Feb 2011 18:05:56 +0000 (20 18:05 +0000)
treead9208ed21083a5f3b7987a2982a1771322da387
parentcd6c93ec48937ab4f76dfd3bf5dc7e68ed781508
Make RecursivelyDeleteDeadPHINode delete a phi node that has no users and add a
test for that. With this change, test/CodeGen/X86/codegen-dce.ll no longer finds
any instructions to DCE, so delete the test.

Also renamed J and JP to I and IP in RecursivelyDeleteDeadPHINode.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126088 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/Local.cpp
test/CodeGen/X86/codegen-dce.ll [deleted file]
unittests/Transforms/Utils/Local.cpp