[CodeGen] Use isLatestArrayKind().
commit66c964ca5849c68b8daf3328ab229ca6d6208f7b
authorMichael Kruse <llvm@meinersbur.de>
Wed, 9 Aug 2017 12:27:51 +0000 (9 12:27 +0000)
committerMichael Kruse <llvm@meinersbur.de>
Wed, 9 Aug 2017 12:27:51 +0000 (9 12:27 +0000)
tree72842876d715623a692681d0beac94f195966cff
parent39f5eee2e94d851d2d2fe0466b394a930394b51e
[CodeGen] Use isLatestArrayKind().

Codegen with -polly-parallel queried the unmapped MemoryAccess, but only
the MemoryKind after mapping is relevant for codegen.

This should fix various fails of the
perf-x86_64-penryn-O3-polly-parallel-fast buildbot.

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