[llvm] [GlobalISel] Dump the machine function after each legalization iteration. NFC (PR #83401)
Amara Emerson via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 4 21:43:17 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());
----------------
aemerson wrote:
I'd still prefer to have this opt-in since with -print-after-all I generally expect entire MFs to be printed after each full pass only.
https://github.com/llvm/llvm-project/pull/83401
More information about the llvm-commits
mailing list