[PATCH] D154205: [MachineLICM] Handle subloops

Thorsten via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 01:07:24 PDT 2023


tschuett added a comment.

"When loops are nested, we generally optimize the inner loops before the outer loops. For one, inner loops are likely to be executed more often. For another, it could move computation to an outer loop from which it is hoisted further when the outer loop is optimized and so on."

https://www.cs.cmu.edu/~fp/courses/15411-f13/lectures/17-loopopt.pdf


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

https://reviews.llvm.org/D154205



More information about the llvm-commits mailing list