[all-commits] [llvm/llvm-project] 1ab275: [Polly] Refactoring IsInnermostParallel() in ISL t...

Michael Kruse via All-commits all-commits at lists.llvm.org
Fri Feb 26 16:42:02 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ab2753d4c2fcb4221a9171b11d513cb759842ac
      https://github.com/llvm/llvm-project/commit/1ab2753d4c2fcb4221a9171b11d513cb759842ac
  Author: Kevin Zhou <qwertycowmoo at gmail.com>
  Date:   2021-02-26 (Fri, 26 Feb 2021)

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

  Log Message:
  -----------
  [Polly] Refactoring IsInnermostParallel() in ISL to take the C++ wrapper object. NFC

Currently, the IslAst library is a C library that would be incompatible with the rest of the LLVM because LLVM is written in C++.
I took one function, IsInnermostParallel(), and refactored it so that it would take the C++ wrapper object instead of using reference counters with the C ISL library. As well, all the references that use IsInnermostParallel() will use manage_copy() since they are still expecting the C object.

Reviewed By: Meinersbur

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




More information about the All-commits mailing list