[all-commits] [llvm/llvm-project] 445e2b: [MLIR][Presburger] Fix subtract processing extra i...
Kunwar Shaanjeet Singh Grover via All-commits
all-commits at lists.llvm.org
Tue Jun 7 10:22:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 445e2b2aa06927a503232516203885cb0ed59ac5
https://github.com/llvm/llvm-project/commit/445e2b2aa06927a503232516203885cb0ed59ac5
Author: Groverkss <groverkss at gmail.com>
Date: 2022-06-07 (Tue, 07 Jun 2022)
Changed paths:
M mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
M mlir/unittests/Analysis/Presburger/PresburgerSetTest.cpp
Log Message:
-----------
[MLIR][Presburger] Fix subtract processing extra inequalities
This patch fixes a bug in PresburgeRelation::subtract that made it process the
inequality at index 0, multiple times. This was caused by allocating memory
instead of reserving memory in llvm::SmallVector.
Reviewed By: arjunp
Differential Revision: https://reviews.llvm.org/D127228
More information about the All-commits
mailing list