[JumpThreading] When processing compares, explicitly check that the result type is...
authorCraig Topper <craig.topper@gmail.com>
Thu, 4 May 2017 21:45:49 +0000 (21:45 +0000)
committerCraig Topper <craig.topper@gmail.com>
Thu, 4 May 2017 21:45:49 +0000 (21:45 +0000)
commit1f673d4450a45c47ffd6ba7f017316e88b165829
treeabaf89be40b92a8bf7b7519ef095328df4e6068d
parent930689ada4fea96bea869a440873079437661974
[JumpThreading] When processing compares, explicitly check that the result type is not a vector rather than check for it being an integer.

Compares always return a scalar integer or vector of integers. isIntegerTy returns false for vectors, but that's not completely obvious. So using isVectorTy is less confusing.

llvm-svn: 302198
llvm/lib/Transforms/Scalar/JumpThreading.cpp