diff options
author | Arjun P <arjunpitchanathan@gmail.com> | 2022-04-04 23:31:28 +0100 |
---|---|---|
committer | Arjun P <arjunpitchanathan@gmail.com> | 2022-04-05 00:24:57 +0100 |
commit | da92f92621e28a56fe8ad79d82eb60e436bf1d39 (patch) | |
tree | 4de6f2c7d5fdb6859f3b4b14e951b1b361f59555 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 3b9833597e810d4c485487d2f094a8e223af5548 (diff) | |
download | llvm-da92f92621e28a56fe8ad79d82eb60e436bf1d39.zip llvm-da92f92621e28a56fe8ad79d82eb60e436bf1d39.tar.gz llvm-da92f92621e28a56fe8ad79d82eb60e436bf1d39.tar.bz2 |
[MLIR][Presburger] IntegerPolyhedron: add support for symbolic integer lexmin
Add support for computing the symbolic integer lexmin of a polyhedron.
This finds, for every assignment to the symbols, the lexicographically
minimum value attained by the dimensions. For example, the symbolic lexmin
of the set
`(x, y)[a, b, c] : (a <= x, b <= x, x <= c)`
can be written as
```
x = a if b <= a, a <= c
x = b if a < b, b <= c
```
This also finds the set of assignments to the symbols that make the lexmin unbounded.
Reviewed By: Groverkss
Differential Revision: https://reviews.llvm.org/D122985
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions