[InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constant vector...
authorSanjay Patel <spatel@rotateright.com>
Fri, 19 Aug 2016 22:33:26 +0000 (22:33 +0000)
committerSanjay Patel <spatel@rotateright.com>
Fri, 19 Aug 2016 22:33:26 +0000 (22:33 +0000)
commitfa7de606c439d90665ef25f0c6d447a9476c2fc6
treebb58c6b6c98cbe020ff90e16d54ec27d8332e622
parenta7d6fc9618aaee28fbbe2324ee8f6168e551d64f
[InstCombine] use m_APInt to allow icmp (shl X, Y), C folds for splat constant vectors, part 1

This is a partial enablement (move the ConstantInt guard down) because there are many
different folds here and one of the later ones will require reworking 'isSignBitCheck'.

llvm-svn: 279339
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/getelementptr.ll
llvm/test/Transforms/InstCombine/icmp.ll