[all-commits] [llvm/llvm-project] da8d1b: [MLIR][Presburger] Fix simplify() of IntegerRelati...

Yue Huang via All-commits all-commits at lists.llvm.org
Sun Mar 8 04:21:40 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: da8d1b52d0d344068a8bd3e46a8af3a692d2efc2
      https://github.com/llvm/llvm-project/commit/da8d1b52d0d344068a8bd3e46a8af3a692d2efc2
  Author: Yue Huang <30948580+AdUhTkJm at users.noreply.github.com>
  Date:   2026-03-08 (Sun, 08 Mar 2026)

  Changed paths:
    M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
    M mlir/unittests/Analysis/Presburger/IntegerRelationTest.cpp

  Log Message:
  -----------
  [MLIR][Presburger] Fix simplify() of IntegerRelation (#181469)

In `simplify()`, we currently skip all columns from 0 to `firstVar` (the
column of the pivot) when we eliminate inequalities. This is invalid,
because unlike equalities, it is not guaranteed that these columns
contain only zeroes, and a scale by `rowMultiplier` cannot be ignored.
We must not skip any columns for inequalities.



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