[InstCombine] use m_APInt to allow icmp (udiv X, Y), C folds for splat constant vectors
authorSanjay Patel <spatel@rotateright.com>
Thu, 18 Aug 2016 17:55:59 +0000 (17:55 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 18 Aug 2016 17:55:59 +0000 (17:55 +0000)
commitfa5ca2bf4677d440eb15dcb851b39a31851c1164
tree9653af029cd55fa105e6987db2240eecfcf5675c
parentc9623db884ec044249c85366e9bc94e47d5cc48a
[InstCombine] use m_APInt to allow icmp (udiv X, Y), C folds for splat constant vectors

This is a sibling of:
https://reviews.llvm.org/rL278859
https://reviews.llvm.org/rL278935
https://reviews.llvm.org/rL278945
https://reviews.llvm.org/rL279066
https://reviews.llvm.org/rL279077

llvm-svn: 279101
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/compare-udiv.ll