[PATCH] D111856: [AArch64][GlobalISel] combine (and (or x, c1), c2) => (and x, c2) iff c1 & c2 == 0
Jay Foad via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 22 07:29:09 PDT 2021
foad added a comment.
This is another case that would ideally be handled with demanded bits analysis. We would visit (or x, c1), see that none of the bits set in c1 are demanded, and simplify to x.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111856/new/
https://reviews.llvm.org/D111856
More information about the llvm-commits
mailing list