[PATCH] D33411: [Polly] Add handling of Top Level Regions

Lukas Böhm via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 24 09:49:37 PDT 2017


lksbhm updated this revision to Diff 100118.
lksbhm added a comment.

I extended the full-function.ll testcase to reflect that we now analyze the TLR.
Since the testcase was previously failing, this edit also adds a patch for `Scop::getRelativeLoopDepth`: It made use of `Region::outermostLoopInRegion` which has an unintuitive corner case for TLRs (which is documented), namely that it always returns `nullptr`.


https://reviews.llvm.org/D33411

Files:
  lib/Analysis/ScopBuilder.cpp
  lib/Analysis/ScopDetection.cpp
  lib/Analysis/ScopInfo.cpp
  lib/Support/ScopHelper.cpp
  test/ScopInfo/full-function.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D33411.100118.patch
Type: text/x-patch
Size: 5116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170524/8efcac7b/attachment.bin>


More information about the llvm-commits mailing list