[Mlir-commits] [mlir] [mlir] Handle backedges in --view-op-graph (PR #82002)
Mehdi Amini
llvmlistbot at llvm.org
Fri Feb 16 13:46:55 PST 2024
================
@@ -276,6 +277,8 @@ class PrintOpPass : public impl::ViewOpGraphBase<PrintOpPass> {
/// Process a block. Emit a cluster and one node per block argument and
/// operation inside the cluster.
void processBlock(Block &block) {
+ sortTopologically(&block);
----------------
joker-eph wrote:
Is the printer not modifying the code and this would change this invariant? This can be undesirable in the context of calling this as debugging helper at various stages of a pass pipeline
https://github.com/llvm/llvm-project/pull/82002
More information about the Mlir-commits
mailing list