diff options
author | Davide Italiano <davide@freebsd.org> | 2017-04-29 00:18:26 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-04-29 00:18:26 +0000 |
commit | 0aaa96a07b00b016bbe9806a888240b13da6b99f (patch) | |
tree | 43978d6915ec72a911704e6f1829b08d58d82e9b /llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | |
parent | 534e314356e597a0dcfcda937fae7538c61b90ca (diff) | |
download | bcm5719-llvm-0aaa96a07b00b016bbe9806a888240b13da6b99f.tar.gz bcm5719-llvm-0aaa96a07b00b016bbe9806a888240b13da6b99f.zip |
[LoopUnswitch] Make DEBUG output more readable (part 2).
I fixed my miscompile in r301722 and I hope I don't have to take
a look at this code again now that Chandler has a new LoopUnswitch
pass, but maybe this could be of use for somebody else in the
meanwhile.
llvm-svn: 301723
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopUnswitch.cpp')
-rw-r--r-- | llvm/lib/Transforms/Scalar/LoopUnswitch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp index 2cda954a096..39289340e03 100644 --- a/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp +++ b/llvm/lib/Transforms/Scalar/LoopUnswitch.cpp @@ -1432,7 +1432,7 @@ void LoopUnswitch::SimplifyCode(std::vector<Instruction*> &Worklist, Loop *L) { // Simple DCE. if (isInstructionTriviallyDead(I)) { - DEBUG(dbgs() << "Remove dead instruction '" << *I); + DEBUG(dbgs() << "Remove dead instruction '" << *I << "\n"); // Add uses to the worklist, which may be dead now. for (unsigned i = 0, e = I->getNumOperands(); i != e; ++i) |