[PATCH] D145142: [X86] Add test for `~x & x` -> `0` in DAG Lowering; NFC

Noah Goldstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 2 12:27:54 PST 2023


goldstein.w.n added a comment.

In D145142#4164133 <https://reviews.llvm.org/D145142#4164133>, @RKSimon wrote:

> LGTM - but maybe name this combine-andn.ll ? Or just add them to combine-and.ll?

Done (also updated with `~x + x` cases in `combine-add.ll` as we are missing combine there as well.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D145142/new/

https://reviews.llvm.org/D145142



More information about the llvm-commits mailing list