[all-commits] [llvm/llvm-project] 4170d6: [Polly][Ast] Partial refactoring of IslAst and Isl...

patacca via All-commits all-commits at lists.llvm.org
Thu Apr 15 22:40:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4170d6cdd51f9c03110ca0fa8bcf4551fb95d569
      https://github.com/llvm/llvm-project/commit/4170d6cdd51f9c03110ca0fa8bcf4551fb95d569
  Author: patacca <patacca at autistici.org>
  Date:   2021-04-16 (Fri, 16 Apr 2021)

  Changed paths:
    M polly/include/polly/CodeGen/IslAst.h
    M polly/lib/CodeGen/CodeGeneration.cpp
    M polly/lib/CodeGen/IslAst.cpp
    M polly/lib/CodeGen/PPCGCodeGeneration.cpp

  Log Message:
  -----------
  [Polly][Ast] Partial refactoring of IslAst and IslAstInfo to use isl++. NFC.

Polly use algorithms from the Integer Set Library (isl), which is a library written in C and which is incompatible with the rest of the LLVM as it is written in C++.

Changes made:
 - Refactoring the following methods of class `IslAst`
  - `getAst()` `getRunCondition()` `buildRunCondition()`
  - Removed the destructor in favor of the default one
 - Change the type of the attribute `IslAst.RunCondition` to `isl::ast_expr`
 - Change the type of the attribute `IslAst.Root` to `isl::ast_node`
 - Change the order of attributes in class `IslAst` to reflect the data dependencies so that the destructor won't complain
 - Refactoring the following methods of class `IslAstInfo`
  - `getAst()` `getRunCondition()`

Reviewed By: Meinersbur

Differential Revision: https://reviews.llvm.org/D100265




More information about the All-commits mailing list