mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-16 12:24:03 +00:00
Add some basic debug output.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105561 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -178,6 +178,8 @@ bool CodePlacementOpt::EliminateUnconditionalJumpsToTop(MachineFunction &MF,
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Move the block.
|
// Move the block.
|
||||||
|
DEBUG(dbgs() << "CGP: Moving blocks starting at BB#" << Pred->getNumber()
|
||||||
|
<< " to top of loop.\n");
|
||||||
Changed = true;
|
Changed = true;
|
||||||
|
|
||||||
// Move it and all the blocks that can reach it via fallthrough edges
|
// Move it and all the blocks that can reach it via fallthrough edges
|
||||||
@ -297,6 +299,8 @@ bool CodePlacementOpt::MoveDiscontiguousLoopBlocks(MachineFunction &MF,
|
|||||||
continue;
|
continue;
|
||||||
|
|
||||||
// Move the block.
|
// Move the block.
|
||||||
|
DEBUG(dbgs() << "CGP: Moving blocks starting at BB#" << BB->getNumber()
|
||||||
|
<< " to be contiguous with loop.\n");
|
||||||
Changed = true;
|
Changed = true;
|
||||||
|
|
||||||
// Process this block and all loop blocks contiguous with it, to keep
|
// Process this block and all loop blocks contiguous with it, to keep
|
||||||
|
Reference in New Issue
Block a user