[llvm] [GlobalISel] Dump the machine function after each legalization iteration. NFC (PR #83401)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 29 02:17:10 PST 2024


================
@@ -223,6 +223,7 @@ Legalizer::legalizeMachineFunction(MachineFunction &MF, const LegalizerInfo &LI,
   SmallVector<MachineInstr *, 128> RetryList;
   do {
     LLVM_DEBUG(dbgs() << "=== New Iteration ===\n");
+    LLVM_DEBUG(MF.dump());
----------------
arsenm wrote:

Can keep this in the one LLVM_DEBUG 

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


More information about the llvm-commits mailing list