[InstCombine] add test for branch on logical-and; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 31 Oct 2022 21:29:03 +0000 (17:29 -0400)
committerSanjay Patel <spatel@rotateright.com>
Mon, 31 Oct 2022 21:39:29 +0000 (17:39 -0400)
commitaa887ff3f43aeaeb76d6be176d0ed67eb414eff8
tree3a03c55a328fc29a13c7cab9ab64ec2d04275f83
parente3ad2ca85f5920abc2b174369eab5829663f666e
[InstCombine] add test for branch on logical-and; NFC

More coverage for the change 115d2f69a515cd756fa51 as
suggested in post-commit feedback.

Given that the transform is canonicalized with another
'not' op, we should adjust the use checks and create
that form directly.
llvm/test/Transforms/InstCombine/branch.ll