[CodeGen] Add flag to code-generate most memory access expressions
commit407af8eb03de29d27c84332e88e86bb9d7986ce7
authorTobias Grosser <tobias@grosser.es>
Tue, 22 Nov 2016 20:21:16 +0000 (22 20:21 +0000)
committerTobias Grosser <tobias@grosser.es>
Tue, 22 Nov 2016 20:21:16 +0000 (22 20:21 +0000)
treec0f57624bbead41c95aad7441f7dc03c4f4b7c17
parent0bcb5db185639ae77aa7f8f75dcbbefc58e5ce81
[CodeGen] Add flag to code-generate most memory access expressions

Introduce the new flag -polly-codegen-generate-expressions which forces Polly
to code generate AST expressions instead of using our SCEV based access
expression generation even for cases where the original memory access relation
was not changed and the SCEV based access expression could be code generated
without any issue.

This is an experimental option for better testing the isl ast expression
generation. The default behavior of Polly remains unchanged. We also exclude
a couple of cases for which the AST expression is not yet working.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@287694 91177308-0d34-0410-b5e6-96231b3b80d8
include/polly/ScopInfo.h
lib/CodeGen/IslNodeBuilder.cpp
test/Isl/CodeGen/MemAccess/generate-all.ll [new file with mode: 0644]