[PATCH] D123374: [InstCombine] Fold (A & 2^C1) + A => A & (2^C1 - 1) iff bit C1 in A is a sign bit (PR21929)

Nikita Popov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 04:17:00 PDT 2022


nikic added a comment.

Unless I overlooked it, I think this is still missing a test with a non-pow2 mask.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D123374



More information about the llvm-commits mailing list