Store the size of the outermost dimension in case of newly created arrays that requir...
authorRoman Gareev <gareevroman@gmail.com>
Mon, 12 Sep 2016 17:08:31 +0000 (17:08 +0000)
committerRoman Gareev <gareevroman@gmail.com>
Mon, 12 Sep 2016 17:08:31 +0000 (17:08 +0000)
commitf5aff70405ad56e7ec5fea0ef01cbc50a3f27bb1
treee51e029ed62088c0ab55168f8f69f78a79c52d45
parent5f4ca2f371d108d6df5ae88d7d8f4d206ae1fc7d
Store the size of the outermost dimension in case of newly created arrays that require memory allocation.

We do not need the size of the outermost dimension in most cases, but if we
allocate memory for newly created arrays, that size is needed.

Reviewed-by: Michael Kruse <llvm@meinersbur.de>
Differential Revision: https://reviews.llvm.org/D23991

llvm-svn: 281234
13 files changed:
polly/include/polly/ScopInfo.h
polly/lib/Analysis/ScopBuilder.cpp
polly/lib/Analysis/ScopInfo.cpp
polly/lib/CodeGen/IslNodeBuilder.cpp
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/lib/Exchange/JSONExporter.cpp
polly/lib/Transform/ScheduleOptimizer.cpp
polly/test/Isl/CodeGen/MemAccess/create_arrays.ll
polly/test/Isl/CodeGen/MemAccess/create_arrays___%bb9---%bb26.jscop
polly/test/Isl/CodeGen/MemAccess/create_arrays___%bb9---%bb26.jscop.transformed
polly/test/Isl/CodeGen/MemAccess/map_scalar_access___%outer.for---%return.jscop
polly/test/Isl/CodeGen/MemAccess/map_scalar_access___%outer.for---%return.jscop.transformed
polly/test/ScheduleOptimizer/mat_mul_pattern_data_layout.ll