[PATCH] D68789: [LoopNest]: Analysis to discover properties of a loop nest.

Bardia Mahjour via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 10:30:59 PST 2019


bmahjour added a comment.

In D68789#1753777 <https://reviews.llvm.org/D68789#1753777>, @Meinersbur wrote:

> [suggestion] Add a methods that returns/fills a vector with all the `Loop*`s that are part of the perfect loop nest.


That sounds like a good idea. I'd suggest returning a vector of vectors actually in case where there are multiple perfect sub nests in a loop nest. ie:

  L1
    L2
     <code>
      L3
        L4
          L5

return:
`{{L1,L2},{L3,L4,L5}}`


Repository:
  rL LLVM

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

https://reviews.llvm.org/D68789





More information about the llvm-commits mailing list