[PATCH] D104179: [NFC] [LoopIdiom] [LoopNest] Create LoopIdiomRecognize as a LoopNestPass

Yueh-Ting Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 12 06:12:39 PDT 2021


eopXD added a comment.

In D104179#2815155 <https://reviews.llvm.org/D104179#2815155>, @fhahn wrote:

>> Following patches will utilize the LoopNest structure for more efficient optimization.
>
> Would it be possible to provide some data on the efficiency improvements?

Hi @fhahn ,
For example,  given a perfectly nested loop-pair and we have matched a store operation that we can hoist to the inner-loop's header as strided store operations,
we can further check on the outer-loop, see if the outer-loop SCEV maintains the continuous memory access and hoist the operation one more loop outwards.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104179



More information about the llvm-commits mailing list