[all-commits] [llvm/llvm-project] c67d27: [mlir][Presburger] NFC: return var index from Inte...
Jeremy Kun via All-commits
all-commits at lists.llvm.org
Mon Aug 18 08:48:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c67d27dad02ab7debfff6c7f7fc3ea8abf064b6a
https://github.com/llvm/llvm-project/commit/c67d27dad02ab7debfff6c7f7fc3ea8abf064b6a
Author: Jeremy Kun <jkun at google.com>
Date: 2025-08-18 (Mon, 18 Aug 2025)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/IntegerRelation.h
M mlir/lib/Analysis/FlatLinearValueConstraints.cpp
M mlir/lib/Analysis/Presburger/IntegerRelation.cpp
M mlir/lib/Analysis/Presburger/Simplex.cpp
M mlir/lib/Dialect/Affine/Analysis/AffineStructures.cpp
Log Message:
-----------
[mlir][Presburger] NFC: return var index from IntegerRelation::addLocalFloorDiv (#153463)
addLocalFloorDiv currently returns void and requires the caller to know
that the newly added local variable is in a particular index. This
commit returns the index of the newly added variable so that callers
need not tie themselves to this implementation detail.
I found one relevant callsite demonstrating this and updated it. I am
using this API out of tree and wanted to make our out-of-tree code a bit
more resilient to upstream changes.
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