This code really wants to iterate over the OPERANDS of an instruction, not
authorChris Lattner <sabre@nondot.org>
Wed, 21 Apr 2004 22:29:37 +0000 (22:29 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Apr 2004 22:29:37 +0000 (22:29 +0000)
commit4e5f03602c8f990f8ed35574535a29fcd44c8890
tree56093761c098477157c31e48f0cd7428db6d2065
parent5d461d20aea308471f2a31b718a274bfee28b60c
This code really wants to iterate over the OPERANDS of an instruction, not
over its USES.  If it's dead it doesn't have any uses!  :)

Thanks to the fabulous and mysterious Bill Wendling for pointing this out.  :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13102 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/DCE.cpp