[OpenMP] Fix reference collection of latest base ptrs.
authorMichael Kruse <llvm@meinersbur.de>
Tue, 31 Oct 2017 10:28:22 +0000 (10:28 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 31 Oct 2017 10:28:22 +0000 (10:28 +0000)
commit06618bf71aa80466cc50181f16f0f5c1ba71e91a
treebb7183fcd328dabcb8cb4c7d788ba0761230f14b
parent64325c51ada0d3a49773e530b47d605bb7528314
[OpenMP] Fix reference collection of latest base ptrs.

When collecting base pointers that need to be made available in parallel
subfunctions, use the base pointer associated with the latest
ScopArrayInfo, instead of the original one.

llvm-svn: 316983
polly/lib/CodeGen/IslNodeBuilder.cpp
polly/test/Isl/CodeGen/OpenMP/mapped-phi-access.ll
polly/test/Isl/CodeGen/OpenMP/reference_latest.ll [new file with mode: 0644]