[all-commits] [llvm/llvm-project] 7c7978: [Polly][Isl] Removing explicit operator bool() fro...

Riccardo Mori via All-commits all-commits at lists.llvm.org
Fri Jun 11 05:44:45 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c7978a122fdd6eb1bc6300b3a2582108f13ff89
      https://github.com/llvm/llvm-project/commit/7c7978a122fdd6eb1bc6300b3a2582108f13ff89
  Author: patacca <patacca at autistici.org>
  Date:   2021-06-11 (Fri, 11 Jun 2021)

  Changed paths:
    M polly/include/polly/ScopInfo.h
    M polly/lib/Analysis/DependenceInfo.cpp
    M polly/lib/Analysis/ScopBuilder.cpp
    M polly/lib/Analysis/ScopInfo.cpp
    M polly/lib/CodeGen/IslAst.cpp
    M polly/lib/CodeGen/PPCGCodeGeneration.cpp
    M polly/lib/Exchange/JSONExporter.cpp
    M polly/lib/External/isl/include/isl/isl-noexceptions.h
    M polly/lib/Support/ISLTools.cpp
    M polly/lib/Support/SCEVAffinator.cpp
    M polly/lib/Transform/DeLICM.cpp
    M polly/lib/Transform/FlattenAlgo.cpp
    M polly/lib/Transform/ForwardOpTree.cpp
    M polly/lib/Transform/ManualOptimizer.cpp
    M polly/lib/Transform/MatmulOptimizer.cpp
    M polly/lib/Transform/ScheduleOptimizer.cpp
    M polly/lib/Transform/ScheduleTreeTransform.cpp
    M polly/lib/Transform/ZoneAlgo.cpp
    M polly/unittests/DeLICM/DeLICMTest.cpp

  Log Message:
  -----------
  [Polly][Isl] Removing explicit operator bool() from isl C++ bindings. 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:
 - Removing explicit operator bool() from all the classes in the isl C++ bindings.
 - Replace each call to operator bool() to method `is_null()`.
 - isl-noexceptions.h has been generated by this https://github.com/patacca/isl/commit/27396daac5a5ee8228d25511a12f4a814c92ba8f

Reviewed By: Meinersbur

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




More information about the All-commits mailing list