[X86] Add tests for inverting `(x * (Pow2_Ceil(C1) - (1 << C0))) & C1` -> `(-x <...
authorNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 10 May 2023 19:49:23 +0000 (14:49 -0500)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Sat, 13 May 2023 19:35:54 +0000 (14:35 -0500)
commit36cfea5a98fd09e61f91937547c7796318f2c026
treefe9ab89ab22adde7843ebcdc91ee06bc874b25f4
parent94f7c961c78d8fdbc05898cfbbf88094de45c1ad
[X86] Add tests for inverting `(x * (Pow2_Ceil(C1) - (1 << C0))) & C1` -> `(-x << C0) & C1`; NFC

Differential Revision: https://reviews.llvm.org/D150293
llvm/test/CodeGen/X86/undo-mul-and.ll [new file with mode: 0644]