OSDN Git Service

[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)
commit0ebfb4ee10846830c26736e4fce1f875df4fa9d9
tree5ebbc951700287a9e5d2083eab3a7b597bf2d883
parentf5898c18e7b301af9f1b3db2e74c85330f1e1dd6
[InstCombine] refactor eq/ne cases in foldICmpUsingKnownBits() ; NFCI

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281561 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineCompares.cpp