[PATCH] D105173: [WIP][NFC] factor out unrolling decision logic

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 7 03:08:29 PDT 2021


dmgreen added a comment.

The latest revision appears to be missing most of the changes. You may want to squash several commits together in git, and make sure the commit message properly explains the reasoning behind the patch.

Do you intend this to go into LLVM, or are you still experimenting at this point?  It may be best to make sure what you come up with will have practical use before making a lot of changes in llvm itself. My understanding is that this code is (overly) complex but it is the order it is for deliberate reasons. All the existing tests have to keep passing, if they are not already.

I would consider runtime unrolling to be the most interesting part of machine learning loop unroll factors, at least on many cpu's.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105173



More information about the llvm-commits mailing list