[PATCH] D111530: [TargetLowering] Optimize expanded SRL/SHL fed into SETCC ne/eq 0
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 17 07:49:16 PST 2022
spatel added a comment.
If I'm seeing the patterns correctly, there's at least one more possibility.
If a target has a legal+fast funnel shift, we could eliminate the shift completely from this sequence instead of forming a rotate:
https://alive2.llvm.org/ce/z/PpGpy3
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111530/new/
https://reviews.llvm.org/D111530
More information about the llvm-commits
mailing list