summaryrefslogtreecommitdiffstats
path: root/polly/lib/CodeGen/IslCodeGeneration.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>2014-10-08 17:25:30 +0000
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>2014-10-08 17:25:30 +0000
commit731685e6bcf04bf40254430de5356692d7bffa27 (patch)
tree5f92dc3f31d9ecc57b3d19fafa39ffbcdee6ce10 /polly/lib/CodeGen/IslCodeGeneration.cpp
parent589b36aae7f0bc50711d4f8f9859269aa3cb7f62 (diff)
downloadbcm5719-llvm-731685e6bcf04bf40254430de5356692d7bffa27.tar.gz
bcm5719-llvm-731685e6bcf04bf40254430de5356692d7bffa27.zip
Allow the VectorBlockGenerator to use the IslExprBuilder.
This also enables the VectorBlockGenerator to build load store accesses according to the newAccessRelation of a MemoryAccess. llvm-svn: 219321
Diffstat (limited to 'polly/lib/CodeGen/IslCodeGeneration.cpp')
-rw-r--r--polly/lib/CodeGen/IslCodeGeneration.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/polly/lib/CodeGen/IslCodeGeneration.cpp b/polly/lib/CodeGen/IslCodeGeneration.cpp
index d72298b54eb..004544ca103 100644
--- a/polly/lib/CodeGen/IslCodeGeneration.cpp
+++ b/polly/lib/CodeGen/IslCodeGeneration.cpp
@@ -248,7 +248,8 @@ void IslNodeBuilder::createUserVector(__isl_take isl_ast_node *User,
isl_map *S = isl_map_from_union_map(Schedule);
createSubstitutionsVector(Expr, Stmt, VectorMap, VLTS, IVS, IteratorID);
- VectorBlockGenerator::generate(Builder, *Stmt, VectorMap, VLTS, S, P, LI, SE);
+ VectorBlockGenerator::generate(Builder, *Stmt, VectorMap, VLTS, S, P, LI, SE,
+ IslAstInfo::getBuild(User), &ExprBuilder);
isl_map_free(S);
isl_id_free(Id);
OpenPOWER on IntegriCloud