[InstCombine] break up foldICmpEqualityWithConstant(); NFCI
authorSanjay Patel <spatel@rotateright.com>
Thu, 21 Jul 2016 23:27:36 +0000 (23:27 +0000)
committerSanjay Patel <spatel@rotateright.com>
Thu, 21 Jul 2016 23:27:36 +0000 (23:27 +0000)
commit18fa9d3ca147cd46f3ef9f191e449debe4fc5465
treeeb560428df27792dd3bca61978e5b563bdf3883b
parentc076c490761998da900ed955e60dba1befc84866
[InstCombine] break up foldICmpEqualityWithConstant(); NFCI

Almost all of these folds require changes to allow vector types.
Splitting up the logic should make that easier to do incrementally.

llvm-svn: 276360
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/lib/Transforms/InstCombine/InstCombineInternal.h