[PATCH] D100265: [Polly][NFC] Refactoring IslAst and partially IslAstInfo to use isl++

Riccardo Mori via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 11 09:57:40 PDT 2021


patacca created this revision.
patacca added reviewers: Meinersbur, jdoerfert, grosser.
Herald added subscribers: kbarton, nemanjai.
Herald added a reviewer: bollu.
patacca added a project: Polly.
patacca published this revision for review.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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()`
- Change the type of the attribute `IslAst.RunCondition` to `isl::ast_expr`
- 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()`


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100265

Files:
  polly/include/polly/CodeGen/IslAst.h
  polly/lib/CodeGen/CodeGeneration.cpp
  polly/lib/CodeGen/IslAst.cpp
  polly/lib/CodeGen/PPCGCodeGeneration.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100265.336665.patch
Type: text/x-patch
Size: 9509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210411/4a3206c5/attachment.bin>


More information about the llvm-commits mailing list