Polly - specify address space when creating a pointer to a vector type
authorMark Schimmel <marksl@synopsys.com>
Wed, 14 Oct 2020 15:29:17 +0000 (10:29 -0500)
committerMichael Kruse <llvm-project@meinersbur.de>
Wed, 14 Oct 2020 16:17:15 +0000 (11:17 -0500)
commit8e570abf104389d301419dc44cb58c7362dd5960
treed3a794b46af96d0b5411164635e245046384ea85
parentfc2fb60bab75955cea341907b252cc1c760481a8
Polly - specify address space when creating a pointer to a vector type

Polly incorrectly dropped the address space specified for a load instruction when it vectorized the code.

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D88907
polly/include/polly/CodeGen/BlockGenerators.h
polly/lib/CodeGen/BlockGenerators.cpp
polly/test/ScheduleOptimizer/vec-addr-space.ll [new file with mode: 0644]