[all-commits] [llvm/llvm-project] 2845ed: [MLIR][Presburger][NFC] Use getters for IntegerPol...

Kunwar Shaanjeet Singh Grover via All-commits all-commits at lists.llvm.org
Sat Feb 5 04:43:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2845ed29d4ce8c5c0a627966071497311f33d903
      https://github.com/llvm/llvm-project/commit/2845ed29d4ce8c5c0a627966071497311f33d903
  Author: Groverkss <groverkss at gmail.com>
  Date:   2022-02-05 (Sat, 05 Feb 2022)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/IntegerPolyhedron.h
    M mlir/lib/Analysis/Presburger/IntegerPolyhedron.cpp
    M mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp

  Log Message:
  -----------
  [MLIR][Presburger][NFC] Use getters for IntegerPolyhedron members

This patch makes IntegerPolyhedron and derived classes use of getters to access
IntegerPolyhedron space information (`numIds, numDims, numSymbols`) instead of
directly accessing them.

This patch makes it easier to change the underlying implementation of the way
identifiers are stored, making it easier to extend/modify existing implementation.

Reviewed By: arjunp

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




More information about the All-commits mailing list