[PATCH] D135633: [GlobalISel] Combine things like (z = x <= 0 ? z = x : z = 0) -> x & (x >> bw-1)
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 13 14:06:57 PDT 2022
arsenm added a comment.
In D135633#3856846 <https://reviews.llvm.org/D135633#3856846>, @paquette wrote:
> Split into two combines to avoid the hook. The "and-not" combine is now opt-in by the target.
If someone needed different behavior per type, it would still need a hook (or some other mechanism to parameterize combines by type)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D135633/new/
https://reviews.llvm.org/D135633
More information about the llvm-commits
mailing list