[PATCH] D91481: [LoopUnroll] Discount uniform instructions in cost models

Philip Reames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 3 15:21:34 PST 2020


reames updated this revision to Diff 309384.
reames added a comment.

Address review comment on costing.

I didn't add a separate test, mostly because it's not clear to me which cases the cost model returns a interesting result.  If anyone has a suggestion, happy to add.


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

https://reviews.llvm.org/D91481

Files:
  llvm/lib/Analysis/LoopUnrollAnalyzer.cpp
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  llvm/test/Transforms/LoopUnroll/nonlatchcondbr.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D91481.309384.patch
Type: text/x-patch
Size: 8638 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201203/ef1f6262/attachment.bin>


More information about the llvm-commits mailing list