[PATCH] D145143: [DAGCombiner] Add fold for `~x & x` -> `0`
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 2 10:38:23 PST 2023
goldstein.w.n added a comment.
In D145143#4164231 <https://reviews.llvm.org/D145143#4164231>, @RKSimon wrote:
> Did you look at performing this inside SimplifyDemandedBits instead?
Just took a look. Seems to me SimplifyDemandedBits is not really the place to check for patterns between operands, but could move there if you prefer
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145143/new/
https://reviews.llvm.org/D145143
More information about the llvm-commits
mailing list