[ScopInfo] Allow epilogues to be the main statement of a BB.
commit9068bd909fb1edc0328e8f0c09f55ab9434c91b4
authorMichael Kruse <llvm@meinersbur.de>
Sat, 3 Feb 2018 05:43:00 +0000 (3 05:43 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Sat, 3 Feb 2018 05:43:00 +0000 (3 05:43 +0000)
tree31a2f079922b28bcabf9326d4ed37bd5dc85c6ef
parentb9c15932c7955b28c7e24d72f890c67efa197437
[ScopInfo] Allow epilogues to be the main statement of a BB.

Do not add a "_last" suffix to the statement name if there is no (other)
main statement for a basic block. In other words, it becomes the main
statement itself. This further reduces the statement naming difference
between -polly-stmt-granularity=bb and
-polly-stmt-granularity=scalar-indep.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@324168 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScopBuilder.cpp