Skip to content

Conversation

@christopherbate
Copy link
Contributor

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Dec 2, 2024

@llvm/pr-subscribers-mlir-presburger

@llvm/pr-subscribers-mlir

Author: Christopher Bate (christopherbate)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/118397.diff

1 Files Affected:

  • (modified) mlir/lib/Analysis/Presburger/PWMAFunction.cpp (+2)
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() &&

@christopherbate christopherbate force-pushed the mlir-presburger-define-maf-dump-func branch from 9105110 to c40bfc0 Compare December 6, 2024 16:29
@christopherbate christopherbate merged commit 832ccfe into llvm:main Dec 6, 2024
8 checks passed
@Groverkss
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants