[PATCH] D68789: [LoopNest]: Analysis to discover properties of a loop nest.
Ettore Tiotto via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 13:42:14 PST 2019
etiotto updated this revision to Diff 233182.
etiotto added a comment.
Based on the feedback received during code review I have added a new public member function called 'getPerfectLoops' which can be used to retrieve a list of loops that are perfect with respect to each other.
For example, given the following loop nest containing 4 loops, 'getPerfectLoops' would return {L1 LLVM Compiler Infrastracture <https://reviews.llvm.org/L1>,{L3,L4}}.
for(i) // L1
for(j) // L2
<code>
for(k) // L3
for(l) // L4
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68789/new/
https://reviews.llvm.org/D68789
Files:
llvm/include/llvm/Analysis/LoopNestAnalysis.h
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/LoopNestAnalysis.cpp
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/test/Analysis/LoopNestAnalysis/imperfectnest.ll
llvm/test/Analysis/LoopNestAnalysis/infinite.ll
llvm/test/Analysis/LoopNestAnalysis/perfectnest.ll
llvm/unittests/Analysis/CMakeLists.txt
llvm/unittests/Analysis/LoopNestTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68789.233182.patch
Type: text/x-patch
Size: 57207 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191210/8a01c5e2/attachment.bin>
More information about the llvm-commits
mailing list