[all-commits] [llvm/llvm-project] 1e7c46: [MLIR] Extract division representation from equali...
Prashant Kumar via All-commits
all-commits at lists.llvm.org
Tue Feb 1 02:54:43 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e7c464d2c3c7b9d3edbed542d2a01f909f2d0d6
https://github.com/llvm/llvm-project/commit/1e7c464d2c3c7b9d3edbed542d2a01f909f2d0d6
Author: Prashant Kumar <pk5561 at gmail.com>
Date: 2022-02-01 (Tue, 01 Feb 2022)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/IntegerPolyhedron.h
M mlir/include/mlir/Analysis/Presburger/Utils.h
M mlir/lib/Analysis/Presburger/IntegerPolyhedron.cpp
M mlir/lib/Analysis/Presburger/Utils.cpp
M mlir/unittests/Analysis/Presburger/IntegerPolyhedronTest.cpp
Log Message:
-----------
[MLIR] Extract division representation from equality expressions.
Extract the division representation from equality constraints.
For example:
32*k == 16*i + j - 31 <-- k is the localVariable
expr = 16*i + j - 31, divisor = 32
k = (16*i + j - 32) floordiv 32
The dividend of the division is set to [16, 1, -32] and the divisor is set
to 32.
Reviewed By: Groverkss
Differential Revision: https://reviews.llvm.org/D117959
More information about the All-commits
mailing list