diff options
author | Juergen Ributzka <juergen@apple.com> | 2014-04-22 18:06:51 +0000 |
---|---|---|
committer | Juergen Ributzka <juergen@apple.com> | 2014-04-22 18:06:51 +0000 |
commit | a1444b39fb3d54823e609b4fe5bb2bf7df569783 (patch) | |
tree | 51230f452046054b11c895f45c9f4408bcd0ed47 /llvm/lib/Transforms | |
parent | 89992b0d6b5548f7cf61b3f8565161f0c159dad2 (diff) | |
download | bcm5719-llvm-a1444b39fb3d54823e609b4fe5bb2bf7df569783.tar.gz bcm5719-llvm-a1444b39fb3d54823e609b4fe5bb2bf7df569783.zip |
[Constant Hoisting] Print the instructions in the correct order for debugging. No functional change.
llvm-svn: 206912
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r-- | llvm/lib/Transforms/Scalar/ConstantHoisting.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp b/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp index fc6cd540c47..9b7ed816ad9 100644 --- a/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp +++ b/llvm/lib/Transforms/Scalar/ConstantHoisting.cpp @@ -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'); |