[PATCH] D96399: [X86][CodeGenPrepare] Try to reuse IV's incremented value instead of adding the offset (WIP)
Max Kazantsev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 24 03:11:36 PST 2021
mkazantsev updated this revision to Diff 326035.
mkazantsev retitled this revision from "[X86][CodeGenPrepare] Try to reuse IV's incremented value instead of adding the offset" to "[X86][CodeGenPrepare] Try to reuse IV's incremented value instead of adding the offset (WIP)".
mkazantsev added a comment.
Moved the logic into AddrMode optimization code, so that GEP and non-GEP modes can use it separately. So it should resolve concerns 1 and 2.
As for potential functional bugs and TODO, need to think more. Placing (WIP) until resolved.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96399/new/
https://reviews.llvm.org/D96399
Files:
llvm/lib/CodeGen/CodeGenPrepare.cpp
llvm/test/CodeGen/X86/2020_12_02_decrementing_loop.ll
llvm/test/CodeGen/X86/usub_inc_iv.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96399.326035.patch
Type: text/x-patch
Size: 13214 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210224/730be50b/attachment.bin>
More information about the llvm-commits
mailing list