[PATCH] D152116: [X86] Transform `(icmp eq/ne (and X, C0), (shift X, C1))` to get better constants.
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 6 05:39:06 PDT 2023
RKSimon added a comment.
This looks similar to optimizeSetCCByHoistingAndByConstFromLogicalShift/shouldProduceAndByConstByHoistingConstFromShiftsLHSOfAnd - can we extend that and perform this as a generic combine?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152116/new/
https://reviews.llvm.org/D152116
More information about the llvm-commits
mailing list