[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
Thu Feb 25 00:04:52 PST 2021


mkazantsev updated this revision to Diff 326307.
mkazantsev added a comment.

Generalized to add/sub/uadd with overflow cases.


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/uadd_inc_iv.ll
  llvm/test/CodeGen/X86/usub_inc_iv.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96399.326307.patch
Type: text/x-patch
Size: 19389 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210225/17f285cf/attachment.bin>


More information about the llvm-commits mailing list