[all-commits] [llvm/llvm-project] 4ffd0b: [MLIR][Presburger] Make IntegerRelation::mergeLoca...

Kunwar Shaanjeet Singh Grover via All-commits all-commits at lists.llvm.org
Sun Apr 17 21:49:45 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ffd0b6fde4da9a3ba4ee3a189504ce84c118b1c
  Author: Groverkss <groverkss at gmail.com>
  Date:   2022-04-18 (Mon, 18 Apr 2022)

  Changed paths:
    M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp

  Log Message:
  [MLIR][Presburger] Make IntegerRelation::mergeLocalIds not delete duplicates

This patch modifies mergeLocalIds to not delete duplicate local ids in
`this` relation. This allows the ordering of the final local ids for `this`
to be determined more easily, which is generally required when other objects
refer to these local ids.

Reviewed By: arjunp

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

More information about the All-commits mailing list