Add tests for folding `(and/or (icmp eq/ne A, Pow2), (icmp eq/ne A, -Pow2))`; NFC
authorNoah Goldstein <goldstein.w.n@gmail.com>
Tue, 14 Feb 2023 01:40:50 +0000 (19:40 -0600)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 15 Feb 2023 00:59:03 +0000 (18:59 -0600)
commite29c4393236fae95c57b9eb631a806ff47dc38cd
tree6d540f496bfd82e0629a05ef59733a7106ac9ca7
parentf3732c2b18df305a1927b9d4a94610421a2750e7
Add tests for folding `(and/or (icmp eq/ne A, Pow2), (icmp eq/ne A, -Pow2))`; NFC

Differential Revision: https://reviews.llvm.org/D142343
llvm/test/CodeGen/X86/icmp-pow2-logic-npow2.ll [new file with mode: 0644]