[all-commits] [llvm/llvm-project] dea76c: [MLIR] FlatAffineConstraints: Refactored computati...

Kunwar Shaanjeet Singh Grover via All-commits all-commits at lists.llvm.org
Wed Sep 8 07:55:43 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: dea76ccaf40f1762915213d0ea91d0c707705683
      https://github.com/llvm/llvm-project/commit/dea76ccaf40f1762915213d0ea91d0c707705683
  Author: Kunwar Shaanjeet Singh Grover <groverkss at gmail.com>
  Date:   2021-09-08 (Wed, 08 Sep 2021)

  Changed paths:
    M mlir/include/mlir/Analysis/AffineStructures.h
    M mlir/lib/Analysis/AffineStructures.cpp
    M mlir/unittests/Analysis/AffineStructuresTest.cpp

  Log Message:
  -----------
  [MLIR] FlatAffineConstraints: Refactored computation of explicit representation for identifiers

This patch refactors the existing implementation of computing an explicit
representation of an identifier as a floordiv in terms of other identifiers and
exposes this computation as a public function.

The computation of this representation is required to support local identifiers
in PresburgerSet subtract, complement and isEqual.

Reviewed By: bondhugula, arjunp

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




More information about the All-commits mailing list