[all-commits] [llvm/llvm-project] 0813bd: [Polly][Isl] Use isl::*::ctx instead of isl::*::ge...

Riccardo Mori via All-commits all-commits at lists.llvm.org
Fri Jul 9 12:14:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0813bd1696dc0c971c21ea337df96d3a07ff86d8
      https://github.com/llvm/llvm-project/commit/0813bd1696dc0c971c21ea337df96d3a07ff86d8
  Author: Riccardo Mori <patacca at autistici.org>
  Date:   2021-07-09 (Fri, 09 Jul 2021)

  Changed paths:
    M polly/include/polly/Support/ISLOperators.h
    M polly/lib/Analysis/ScopInfo.cpp
    M polly/lib/CodeGen/IslAst.cpp
    M polly/lib/CodeGen/PPCGCodeGeneration.cpp
    M polly/lib/External/isl/include/isl/isl-noexceptions.h
    M polly/lib/Support/ISLTools.cpp
    M polly/lib/Transform/FlattenAlgo.cpp
    M polly/lib/Transform/MatmulOptimizer.cpp
    M polly/lib/Transform/MaximalStaticExpansion.cpp
    M polly/lib/Transform/ScheduleOptimizer.cpp
    M polly/lib/Transform/ScheduleTreeTransform.cpp
    M polly/lib/Transform/ZoneAlgo.cpp

  Log Message:
  -----------
  [Polly][Isl] Use isl::*::ctx instead of isl::*::get_ctx. NFC

This is part of an effort to reduce the differences between the custom C++ bindings used right now by polly in `lib/External/isl/include/isl/isl-noxceptions.h` and the official isl C++ interface.

Changes made:
 - Use `isl::*::ctx()` instead of `isl::*::get_ctx()` (for example `isl::space::ctx()` instead of `isl::space::get_ctx()`)
 - Add `isl::` namespace in front of isl types to avoid confusion (for example `isl::space::ctx` and `isl::ctx`
 - `isl-noexceptions.h` has been generated by this https://github.com/patacca/isl/commit/b64e33c62d3fe7db506f6630f9e935b663f9c5a4

Reviewed By: Meinersbur

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




More information about the All-commits mailing list