[PATCH] D71563: [SCEV] Recognise the hardwareloop "loop.decrement.reg" intrinsic

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 9 06:56:17 PST 2020


SjoerdMeijer updated this revision to Diff 237065.
SjoerdMeijer edited the summary of this revision.
SjoerdMeijer added a comment.
Herald added a subscriber: zzheng.

I have added test cases for LFTR and loopunrolling showing that the said transformations don't trigger as `int_loop_decrement_reg` is described as `IntrNoDuplicate`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71563/new/

https://reviews.llvm.org/D71563

Files:
  llvm/lib/Analysis/ScalarEvolution.cpp
  llvm/test/Transforms/IndVarSimplify/lftr.ll
  llvm/test/Transforms/LoopUnroll/dont-unroll-loopdec.ll
  llvm/unittests/Analysis/ScalarEvolutionTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71563.237065.patch
Type: text/x-patch
Size: 4927 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200109/0c0852c2/attachment.bin>


More information about the llvm-commits mailing list