teach ComputeNumSignBits to look through PHI nodes.
authorChris Lattner <sabre@nondot.org>
Thu, 7 Jan 2010 23:44:37 +0000 (23:44 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 7 Jan 2010 23:44:37 +0000 (23:44 +0000)
commit8d10f9d4a836907d7bf048be507787a9233959c9
tree21be48bcfc65dcd32560bc00f4e168315adc89ac
parente3874deb61fb01354ca32996e941060956fc4d41
teach ComputeNumSignBits to look through PHI nodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92964 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp
lib/Transforms/InstCombine/InstructionCombining.cpp
test/Transforms/InstCombine/shift-sra.ll