[all-commits] [llvm/llvm-project] abc2c2: [MLIR][Presburger][NFC] Cleanup PresburgerSet

Kunwar Shaanjeet Singh Grover via All-commits all-commits at lists.llvm.org
Mon Mar 7 13:32:42 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: abc2c2309a0d9af21c399f0ad6a42a928664085d
      https://github.com/llvm/llvm-project/commit/abc2c2309a0d9af21c399f0ad6a42a928664085d
  Author: Groverkss <groverkss at gmail.com>
  Date:   2022-03-08 (Tue, 08 Mar 2022)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/PresburgerSet.h
    M mlir/lib/Analysis/Presburger/PWMAFunction.cpp
    M mlir/lib/Analysis/Presburger/PresburgerSet.cpp
    M mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp

  Log Message:
  -----------
  [MLIR][Presburger][NFC] Cleanup PresburgerSet

This patch cleans up the interface to PresburgerSet. At a high level it does
the following changes:

  - Move member functions around to have constructors at top and print/dump
    at end.
  - Move a private function to be a static function instead.
  - Change member functions of type "getAllIntegerPolyhedron" to "getAllPolys"
    instead.
  - Improve documentation for PresburgerSet.

Reviewed By: arjunp

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




More information about the All-commits mailing list