diff options
author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-08-03 12:09:33 +0000 |
---|---|---|
committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-08-03 12:09:33 +0000 |
commit | eadf76d34ac579041f465acd134ca526ade4e510 (patch) | |
tree | 8ccbadb295e257195548e7828fda91f10c1e87cf /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 10f740df4d28beeef139c818b7502467ab4eba4b (diff) | |
download | bcm5719-llvm-eadf76d34ac579041f465acd134ca526ade4e510.tar.gz bcm5719-llvm-eadf76d34ac579041f465acd134ca526ade4e510.zip |
[PPCGCodeGeneration] Construct `isl_multi_pw_aff` of PPCGArray.bounds even when polly-ignore-parameter-bounds is turned on.
When we have `-polly-ignore-parameter-bounds`, `Scop::Context` does not contain
all the paramters present in the program.
The construction of the `isl_multi_pw_aff` requires all the indivisual `pw_aff`
to have the same parameter dimensions. To achieve this, we used to realign
every `pw_aff` with `Scop::Context`. However, in conjunction with
`-polly-ignore-parameter-bounds`, this is now incorrect, since `Scop::Context`
does not contain all parameters.
We set this up correctly by creating a space that has all the parameters
used by all the `isl_pw_aff`. Then, we realign all `isl_pw_aff` to this space.
llvm-svn: 309934
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions