[all-commits] [llvm/llvm-project] 98db55: [MLIR] IntegerPolyhedron: introduce getNumIdKind t...
Arjun P via All-commits
all-commits at lists.llvm.org
Fri Dec 10 14:15:07 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 98db55f108a25953ea743629a874ced3da0058da
https://github.com/llvm/llvm-project/commit/98db55f108a25953ea743629a874ced3da0058da
Author: Arjun P <arjunpitchanathan at gmail.com>
Date: 2021-12-11 (Sat, 11 Dec 2021)
Changed paths:
M mlir/include/mlir/Analysis/Presburger/IntegerPolyhedron.h
M mlir/lib/Analysis/Presburger/IntegerPolyhedron.cpp
Log Message:
-----------
[MLIR] IntegerPolyhedron: introduce getNumIdKind to replace calls to assertAtMostNumIdKind
Introduce a function `getNumIdKind` that returns the number of ids of the
specified kind. Remove the function `assertAtMostNumIdKind` and instead just
directly assert the inequality with a call to `getNumIdKind`.
More information about the All-commits
mailing list