[all-commits] [llvm/llvm-project] fd26d8: [MLIR][Presburger] subtract: fix support for divs ...
Arjun P via All-commits
all-commits at lists.llvm.org
Tue Jun 28 12:24:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd26d86f5f662f71337e4ce266f122564e25466d
https://github.com/llvm/llvm-project/commit/fd26d86f5f662f71337e4ce266f122564e25466d
Author: Arjun P <arjunpitchanathan at gmail.com>
Date: 2022-06-28 (Tue, 28 Jun 2022)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
Log Message:
-----------
[MLIR][Presburger] subtract: fix support for divs defined by equalities
Also added test cases to test this. Both IntegerRelation::addLocalFloorDiv and the fixed implementation of subtraction need to compute division inequalities from dividend and divisor, so this also adds helper util functions to avoid duplicating this logic.
Reviewed By: Groverkss
Differential Revision: https://reviews.llvm.org/D128736
More information about the All-commits
mailing list