[CodeGen] Remove need for all parameters to be in scop context for load hoisting.
authorTobias Grosser <tobias@grosser.es>
Sat, 18 Mar 2017 23:12:49 +0000 (23:12 +0000)
committerTobias Grosser <tobias@grosser.es>
Sat, 18 Mar 2017 23:12:49 +0000 (23:12 +0000)
commitb28f86e9e6beeb76f7fbde2ff7507fc04a85a30e
tree9fe5bd321c94809467fafa0b147b8feb1129c34e
parent61f8bca7c580d17d7bb0c933247807b7d470482d
[CodeGen] Remove need for all parameters to be in scop context for load hoisting.

When not adding constraints on parameters using -polly-ignore-parameter-bounds,
the context may not necessarily list all parameter dimensions. To support code
generation in this situation, we now always iterate over the actual parameter
list, rather than relying on the context to list all parameter dimensions.

llvm-svn: 298197
polly/include/polly/CodeGen/IslNodeBuilder.h
polly/include/polly/ScopInfo.h
polly/lib/CodeGen/IslNodeBuilder.cpp
polly/test/Isl/CodeGen/invariant_loads_ignore_parameter_bounds.ll [new file with mode: 0644]