]> granicus.if.org Git - llvm/commit
[ValueTracking] Remove scalar only restriction from isKnownNonEqual. The computeKnown...
authorCraig Topper <craig.topper@gmail.com>
Tue, 6 Jun 2017 07:13:15 +0000 (07:13 +0000)
committerCraig Topper <craig.topper@gmail.com>
Tue, 6 Jun 2017 07:13:15 +0000 (07:13 +0000)
commit275adc9e3778f08810f63d1c8f817b913261a49c
tree9960fcec48ff9e9a9668cd13b77d7111b745d92f
parent7002e8b635d551c3d384ab36e3d0ab2074f61d66
[ValueTracking] Remove scalar only restriction from isKnownNonEqual. The computeKnownBits and isKnownNonZero calls this code relies on should work fine for vectors.

This will be used by another commit to remove some code from InstSimplify that is redundant for scalars, but was needed for vectors due to this issue.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@304774 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ValueTracking.cpp