[Mlir-commits] [mlir] [mlir][affine] fix the issue of celidiv mul ceildiv expression not satisfying commutative (PR #109382)
Johannes Reifferscheid
llvmlistbot at llvm.org
Thu Oct 3 23:20:06 PDT 2024
================
@@ -349,6 +350,82 @@ unsigned AffineDimExpr::getPosition() const {
return static_cast<ImplType *>(expr)->position;
}
+/// A manually managed stack used to convert recursive function calls into
----------------
jreiffers wrote:
Why not just use AffineExpr::walk? It'll do a post-order traversal, so you could just have a stack of partial results. Unless I'm still missing something :-).
https://github.com/llvm/llvm-project/pull/109382
More information about the Mlir-commits
mailing list