[Mlir-commits] [mlir] [mlir] Add `Operation::dumpPrettyPrinted` (PR #120117)

River Riddle llvmlistbot at llvm.org
Mon Dec 16 12:59:05 PST 2024


================
@@ -320,7 +320,7 @@ class alignas(8) Operation final
 
   void print(raw_ostream &os, const OpPrintingFlags &flags = std::nullopt);
   void print(raw_ostream &os, AsmState &state);
-  void dump();
+  void dump(bool assumeVerified = false);
----------------
River707 wrote:

If we want to ensure `dump` is available, we should mark it with LLVM_DUMP_METHOD. Helps prevent the symbol from being killed off.

https://github.com/llvm/llvm-project/pull/120117


More information about the Mlir-commits mailing list