Factor out the multiply analysis code in ComputeMaskedBits and apply it to the
authorNick Lewycky <nicholas@mxc.ca>
Sun, 18 Mar 2012 23:28:48 +0000 (23:28 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sun, 18 Mar 2012 23:28:48 +0000 (23:28 +0000)
commitf201a066625e32884c9d2b766ff48fe0b70e179a
treebbfe58f4c1e432c9981e11f321492912af388a60
parent97327dc6ef5183bbad308e19ed86488c7e94d973
Factor out the multiply analysis code in ComputeMaskedBits and apply it to the
overflow checking multiply intrinsic as well.

Add a test for this, updating the test from grep to FileCheck.

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