Skip to content

Commit 89f692a

Browse files
authored
[GlobalISel] Split Legalizer debug ouput into paragraphs. NFC (#143427)
This helps keep the legalizer output easier to read, splitting each instructions legalization into a separate block.
1 parent 48e54f3 commit 89f692a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ LegalizerHelper::LegalizerHelper(MachineFunction &MF, const LegalizerInfo &LI,
118118
LegalizerHelper::LegalizeResult
119119
LegalizerHelper::legalizeInstrStep(MachineInstr &MI,
120120
LostDebugLocObserver &LocObserver) {
121-
LLVM_DEBUG(dbgs() << "Legalizing: " << MI);
121+
LLVM_DEBUG(dbgs() << "\nLegalizing: " << MI);
122122

123123
MIRBuilder.setInstrAndDebugLoc(MI);
124124

0 commit comments

Comments
 (0)