[PhaseOrdering] add tests for cmp + boolean/bitwise logic; NFC
authorSanjay Patel <spatel@rotateright.com>
Mon, 16 May 2022 14:21:55 +0000 (10:21 -0400)
committerSanjay Patel <spatel@rotateright.com>
Mon, 16 May 2022 14:35:10 +0000 (10:35 -0400)
commit325896d82339d7328bdaf54b23f2f26cc289d597
tree02a359c01d4e526e8e82f246fd244e9d28ce1ca6
parent242910ac3abcdfeb80b3ae2806dc84773f23341a
[PhaseOrdering] add tests for cmp + boolean/bitwise logic; NFC

The tests (see C++ source in #54692) have multiple potential
optimizations/canonicalizations, but we should be consistent
since they are logically identical.
llvm/test/Transforms/PhaseOrdering/cmp-logic.ll [new file with mode: 0644]