add a new InstCombineWorklist::AddValue method that works even
authorChris Lattner <sabre@nondot.org>
Sun, 30 Aug 2009 06:27:41 +0000 (06:27 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 30 Aug 2009 06:27:41 +0000 (06:27 +0000)
commit3c4e38e4116965e9ec153a848ec2caa746c69177
tree32bfea8136b414f7b674d7a9d6b451da432658d9
parente5ecdb5a98bd19695799d65b0beaf066e5d2589e
add a new InstCombineWorklist::AddValue method that works even
if the operand is not an instruction.

Simplify most uses of AddOperandsToWorkList to use AddValue and
inline it into the one remaining callsite.

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