[all-commits] [llvm/llvm-project] 5f58aa: [Polly][CodeGen] Allow nesting of BandAttr mark wi...

Michael Kruse via All-commits all-commits at lists.llvm.org
Tue Mar 16 14:17:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5f58aae8f3dfbac9d7321546c66309381c54d194
      https://github.com/llvm/llvm-project/commit/5f58aae8f3dfbac9d7321546c66309381c54d194
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-03-16 (Tue, 16 Mar 2021)

  Changed paths:
    M polly/lib/CodeGen/IslNodeBuilder.cpp

  Log Message:
  -----------
  [Polly][CodeGen] Allow nesting of BandAttr mark without loop.

BandAttr markers are added as parents of schedule tree bands. These also
appear as markers its equivalent AST, but a band does not necessarily
corresponds to a loop in this. Iterations may be peeled or the loop
being unrolled (e.g. if it has just one iteration). In such cases it may
happend that there is not loop between a BandAttr marker and the marker
for a loop nested in the former parent band/loop.

Handle the situation by giving priority to the inner marker over the
outer.

Fixes the polly-x86_64-linux-test-suite buildbot.




More information about the All-commits mailing list