[InstCombine] refactor eq/ne cases in foldICmpUsingKnownBits() ; NFCI
authorSanjay Patel <spatel@rotateright.com>
Wed, 14 Sep 2016 23:38:56 +0000 (23:38 +0000)
committerSanjay Patel <spatel@rotateright.com>
Wed, 14 Sep 2016 23:38:56 +0000 (23:38 +0000)
commit9efb1bdcc4be9613188e7a62e9c5bbd80b3f4895
tree3d68e5f5a7547750d8a81e01d9e9e2697c5195f7
parent9f664051ab076b06dab1c0f2b12b910cd68ee813
[InstCombine] refactor eq/ne cases in foldICmpUsingKnownBits() ; NFCI

The pattern matching and transforms are identical; the cmp predicate just changes.

llvm-svn: 281561
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp