[PATCH] D12803: [Polly] Merge TempScop into Scop

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 11 07:46:35 PDT 2015


Meinersbur created this revision.
Meinersbur added reviewers: grosser, jdoerfert.
Meinersbur added subscribers: llvm-commits, pollydev.
Meinersbur added a project: Polly.
Herald added a subscriber: sanjoy.

TempScop is basically a holder for AccFuncMap, the dictionary from BasicBlocks to IRAccess lists. We move the list into polly::Scop and remove the polly::TempScop class.

There is one small change in behavior: If ScopInfo finds that its AssumedContext is impossible, it bails out by deleting the Scop object. The TempScop::print (invoked with opt -polly-scops -analyze) cannot print the AccFuncMap anymore as it would with a separate TempScop.

http://reviews.llvm.org/D12803

Files:
  include/polly/ScopInfo.h
  lib/Analysis/ScopInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12803.34548.patch
Type: text/x-patch
Size: 17813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150911/bff503a8/attachment.bin>


More information about the llvm-commits mailing list