[PATCH] [Polly] Map isl_ast for nodes to LLVM Loops

David Peixotto dpeixott at codeaurora.org
Tue Sep 9 18:21:29 PDT 2014


Hi jdoerfert, grosser,

This commit implements a mapping from isl_ast_node_for ast nodes to
their original LLVM Loop* structures.  The mapping is done based on
the dimension that moves in the innermost isl for loop.  Each moving
dimension in the new innermost loop is mapped back to a (set of)
llvm loops that correspond to that original dimension.

The primary motivation for the mapping is to enable polly to read
the LLVM metadata associated with the loop and use that metadata to
drive the polly vectorizer.

http://reviews.llvm.org/D5283

Files:
  include/polly/CodeGen/IslAst.h
  lib/CodeGen/IslAst.cpp
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_1d.ll
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_1d_fusion.ll
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_2d.ll
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_2d_flatten.ll
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_2d_inner.ll
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_2d_outer.ll
  test/Isl/Ast/llvm_loop_to_isl_ast_node_for_2d_skew.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5283.13507.patch
Type: text/x-patch
Size: 24319 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140910/77d44619/attachment.bin>


More information about the llvm-commits mailing list