[all-commits] [llvm/llvm-project] 730acd: [MLIR][Presburger] fix double increment in coalesce

Michel Weber via All-commits all-commits at lists.llvm.org
Sat Feb 26 02:37:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 730acdc4454ca581211f447f07579cdaf79e2558
      https://github.com/llvm/llvm-project/commit/730acdc4454ca581211f447f07579cdaf79e2558
  Author: Michel Weber <michel.weber at inf.ethz.ch>
  Date:   2022-02-26 (Sat, 26 Feb 2022)

  Changed paths:
    M mlir/lib/Analysis/Presburger/PresburgerSet.cpp
    M mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp

  Log Message:
  -----------
  [MLIR][Presburger] fix double increment in coalesce

In the main-loop of the current coalesce implementation `i` was incremented
twice for some cases. This patch fixes this bug and adds a regression
testcase.

Reviewed By: arjunp

Differential Revision: https://reviews.llvm.org/D120613




More information about the All-commits mailing list