[InstCombine] use m_APInt to allow icmp (trunc X, Y), C folds for splat constant...
authorSanjay Patel <spatel@rotateright.com>
Thu, 18 Aug 2016 20:28:54 +0000 (20:28 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 18 Aug 2016 20:28:54 +0000 (20:28 +0000)
commit40e8ca46ad4a02c3cd2b29347ae340e7fd1be1aa
treeca2a6cf976e810992395808c85a6360f5093a81a
parent5f4ce4e23db926c4c97b8477757c97634036db66
[InstCombine] use m_APInt to allow icmp (trunc 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
https://reviews.llvm.org/rL279101

llvm-svn: 279133
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/cast.ll
llvm/test/Transforms/InstCombine/compare-signs.ll