OSDN Git Service

[InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constant vector...
authorSanjay Patel <spatel@rotateright.com>
Sun, 21 Aug 2016 16:35:34 +0000 (16:35 +0000)
committerSanjay Patel <spatel@rotateright.com>
Sun, 21 Aug 2016 16:35:34 +0000 (16:35 +0000)
commitecce337063ad805d7bdb3b0d1183344b8744fef3
tree9783eed5f8d8dfff7cb58d9eb2f7031f48c85ecc
parenta5d876194df3883547c51826e987a07e4bbf5105
[InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constant vectors, part 3

This is a partial enablement (move the ConstantInt guard down).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279399 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/shift.ll