[OpenMP] Fix reference collection of latest base ptrs.
commit5278a7a4fc0fd05fc1171a01e14e04b73deca5ab
authorMichael Kruse <llvm@meinersbur.de>
Tue, 31 Oct 2017 10:28:22 +0000 (31 10:28 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Tue, 31 Oct 2017 10:28:22 +0000 (31 10:28 +0000)
treee88141fdc59324c7c67969433b99aa1082646b6f
parentcfc2e1d2d00eef90426fbda5048f7a3e5c9f7548
[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.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@316983 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/IslNodeBuilder.cpp
test/Isl/CodeGen/OpenMP/mapped-phi-access.ll
test/Isl/CodeGen/OpenMP/reference_latest.ll [new file with mode: 0644]