[PATCH] D13341: [Polly] Earlier creation of ScopStmt objects

Michael Kruse via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 1 05:33:30 PDT 2015


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

This moves the construction of ScopStmt to the beginning of the ScopInfo pass. The late creation was a result of the earlier separation of ScopInfo and TempScopInfo. This will avoid introducing more ScopStmt-like maps in future commits. The AccFuncMap will also be removed in some future commit.

The order in which ScopStmt are created changes and initially creates empty statements that are removed in a simplification.

http://reviews.llvm.org/D13341

Files:
  include/polly/ScopInfo.h
  lib/Analysis/ScopInfo.cpp
  test/ScopInfo/NonAffine/non_affine_loop_used_later.ll
  test/ScopInfo/cond_constant_in_loop.ll
  test/ScopInfo/non_affine_region_1.ll
  test/ScopInfo/non_affine_region_2.ll
  test/ScopInfo/non_affine_region_3.ll
  test/ScopInfo/non_affine_region_4.ll
  test/ScopInfo/phi_condition_modeling_1.ll
  test/ScopInfo/phi_condition_modeling_2.ll
  test/ScopInfo/phi_conditional_simple_1.ll
  test/ScopInfo/switch-1.ll
  test/ScopInfo/switch-2.ll
  test/ScopInfo/switch-3.ll
  test/ScopInfo/switch-4.ll
  test/ScopInfo/switch-6.ll
  test/ScopInfo/switch-7.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13341.36230.patch
Type: text/x-patch
Size: 30769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151001/813ff9ba/attachment.bin>


More information about the llvm-commits mailing list