[all-commits] [llvm/llvm-project] 2f1f38: [Polly] Invalidate passes after Scop processing in...

Michael Kruse via All-commits all-commits at lists.llvm.org
Sun Feb 14 14:43:39 PST 2021


  Branch: refs/heads/npm
  Home:   https://github.com/llvm/llvm-project
  Commit: 2f1f38b5b949866e1e34a3848a09101c0e7c5963
      https://github.com/llvm/llvm-project/commit/2f1f38b5b949866e1e34a3848a09101c0e7c5963
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2021-02-14 (Sun, 14 Feb 2021)

  Changed paths:
    M polly/include/polly/ScopPass.h

  Log Message:
  -----------
  [Polly] Invalidate passes after Scop processing in NewPM.

ScopDetection's DetectionContext holds AssertionVH for
RequiredInvariantLoads. An assertion is thrown if the handle's value is
erased and the ScopDetection is not yet invalidated. The ScopDetection
must remain valid durting the ScopPassManager. Enusure that all Scop
analyses are free'd when the ScopPass manager is done.

If IR generation has happened, also invalidate all other passes to avoid
possible issues because, like for the legacy pass manager, Polly does not
yet perfectly preserve them.




More information about the All-commits mailing list