[all-commits] [llvm/llvm-project] 58966d: [MLIR][Presburger] Remove `spaceKind` from Presbur...

Kunwar Shaanjeet Singh Grover via All-commits all-commits at lists.llvm.org
Thu Mar 10 08:51:04 PST 2022


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

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

  Log Message:
  -----------
  [MLIR][Presburger] Remove `spaceKind` from PresburgerSpace

This patch remove `spaceKind` from PresburgerSpace, making PresburgerSpace only
a space supporting relations.

Sets are still implemented in the same way, i.e. with a zero domain but instead
the asserts to check if the space is still set are added to users of
PresburgerSpace which treat it as a Set space.

Reviewed By: arjunp

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




More information about the All-commits mailing list