[PATCH] D141464: [X86]: Match (xor TSize - 1, ctlz) to `bsr` instead of `lzcnt` + `xor`
Noah Goldstein via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 15:16:34 PST 2023
goldstein.w.n updated this revision to Diff 488397.
goldstein.w.n added a comment.
Only do for ctlz_zero_undef. Add more tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141464/new/
https://reviews.llvm.org/D141464
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/clz.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141464.488397.patch
Type: text/x-patch
Size: 4981 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230111/4dd6a0f0/attachment.bin>
More information about the llvm-commits
mailing list