[PATCH] D131358: [X86] (0 - SetCC) | C -> (zext (not SetCC)) * (C + 1) - 1 if we can get a LEA out of it.
Amaury SECHET via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 8 16:16:10 PDT 2022
deadalnix updated this revision to Diff 450995.
deadalnix added a comment.
- Limit the transform to 32bits and 64bits.
- Add 64 bits test cases.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131358/new/
https://reviews.llvm.org/D131358
Files:
llvm/lib/Target/X86/X86ISelLowering.cpp
llvm/test/CodeGen/X86/or-lea.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131358.450995.patch
Type: text/x-patch
Size: 7625 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220808/482b899a/attachment.bin>
More information about the llvm-commits
mailing list