[Mlir-commits] [mlir] [mlir][presburger] NFC: Add missing definition for 'MultiAffineFunction::dump' (PR #118397)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Mon Dec 2 13:25:07 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-presburger
@llvm/pr-subscribers-mlir
Author: Christopher Bate (christopherbate)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/118397.diff
1 Files Affected:
- (modified) mlir/lib/Analysis/Presburger/PWMAFunction.cpp (+2)
``````````diff
diff --git a/mlir/lib/Analysis/Presburger/PWMAFunction.cpp b/mlir/lib/Analysis/Presburger/PWMAFunction.cpp
index beb9f3e82e22d3..3ed77998c92ad1 100644
--- a/mlir/lib/Analysis/Presburger/PWMAFunction.cpp
+++ b/mlir/lib/Analysis/Presburger/PWMAFunction.cpp
@@ -65,6 +65,8 @@ void MultiAffineFunction::print(raw_ostream &os) const {
output.print(os);
}
+void MultiAffineFunction::dump() const { print(llvm::errs()); }
+
SmallVector<DynamicAPInt, 8>
MultiAffineFunction::valueAt(ArrayRef<DynamicAPInt> point) const {
assert(point.size() == getNumDomainVars() + getNumSymbolVars() &&
``````````
</details>
https://github.com/llvm/llvm-project/pull/118397
More information about the Mlir-commits
mailing list