[all-commits] [llvm/llvm-project] 375f19: [MLIR][Presburger] Fix full dimension check (#175422)
Yue Huang via All-commits
all-commits at lists.llvm.org
Fri Feb 13 11:44:45 PST 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 375f1995224ce8bd52e97c7898a22564bee15056
https://github.com/llvm/llvm-project/commit/375f1995224ce8bd52e97c7898a22564bee15056
Author: Yue Huang <30948580+AdUhTkJm at users.noreply.github.com>
Date: 2026-02-13 (Fri, 13 Feb 2026)
Changed paths:
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/unittests/Analysis/Presburger/IntegerRelationTest.cpp
Log Message:
-----------
[MLIR][Presburger] Fix full dimension check (#175422)
Currently, the code mistakenly thinks `(x): (1 >= 0)` as
non-full-dimensional.
The code determines full-dimensionality by testing whether an inequality
is flat, i.e. takes the same value regardless of variable assignments.
However, `1 >= 0` is obviously flat, and this case should be ignored
since it didn't involve any variables.
To remove these inequalities, we can call `removeTrivialRedundancy`.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list