mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-03 08:51:43 +00:00
[Constant Hoisting] Print the instructions in the correct order for debugging. No functional change.
llvm-svn: 206912
This commit is contained in:
parent
9639d4700f
commit
7287943879
@ -488,8 +488,8 @@ void ConstantHoisting::emitBaseConstants(Instruction *Base, Constant *Offset,
|
||||
ClonedCastInst->insertAfter(CastInst);
|
||||
// Use the same debug location as the original cast instruction.
|
||||
ClonedCastInst->setDebugLoc(CastInst->getDebugLoc());
|
||||
DEBUG(dbgs() << "Clone instruction: " << *ClonedCastInst << '\n'
|
||||
<< "To : " << *CastInst << '\n');
|
||||
DEBUG(dbgs() << "Clone instruction: " << *CastInst << '\n'
|
||||
<< "To : " << *ClonedCastInst << '\n');
|
||||
}
|
||||
|
||||
DEBUG(dbgs() << "Update: " << *ConstUser.Inst << '\n');
|
||||
|
Loading…
Reference in New Issue
Block a user