[PATCH] D94203: GlobalISel: Add combine for G_UREM by power of 2
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 7 06:05:56 PST 2021
arsenm added inline comments.
================
Comment at: llvm/include/llvm/Target/GlobalISel/Combine.td:570
def known_bits_simplifications : GICombineGroup<[
- redundant_and, redundant_sext_inreg, redundant_or]>;
+ redundant_and, redundant_sext_inreg, redundant_or, urem_pow2_to_mask]>;
----------------
foad wrote:
> Seems a bit questionable to call this a "known bits simplification", but I don't suppose it matters.
I wasn't sure where to group this, but it does depend on known bits
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94203/new/
https://reviews.llvm.org/D94203
More information about the llvm-commits
mailing list