~pali/llvm/polly-trunk

Viewing all changes in revision 3767.

  • Committer: pfaffe
  • Date: 2018-05-15 14:53:25 UTC
  • Revision ID: svn-v4:91177308-0d34-0410-b5e6-96231b3b80d8:polly/trunk:332359
[SI] Create Scop Name lazily

Summary: Creating the Scop name is expensive, because creating the
Region name it's derived from is expensive. So create the name lazily,
because getName() is actually called rarely.

This is a reiteration of r328666, which introduced a use-after-free and
got reverted in r331363.

Differential Revision: https://reviews.llvm.org/D46868

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: