[InstCombine] refactor matching code for logical ands; NFCI
authorSanjay Patel <spatel@rotateright.com>
Fri, 21 Oct 2022 14:43:54 +0000 (10:43 -0400)
committerSanjay Patel <spatel@rotateright.com>
Fri, 21 Oct 2022 15:28:38 +0000 (11:28 -0400)
commitf6fc3e23b95ef0045d4453bd3fdddd765f29099b
tree14bd09f588780469e7b3baf6323e8782030cf59e
parent2c0d0566ee2d871c5614b829416bb628ef1892a8
[InstCombine] refactor matching code for logical ands; NFCI

Separating the matches makes it easier
to enhance for commutative patterns.
llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp