[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 03:35:39 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:
Worried this will be excessive printing when debugging anything other than the most trivial of cases
https://github.com/llvm/llvm-project/pull/83401
More information about the llvm-commits
mailing list