diff options
| author | Evgeny Stupachenko <evstupac@gmail.com> | 2016-11-21 21:55:03 +0000 |
|---|---|---|
| committer | Evgeny Stupachenko <evstupac@gmail.com> | 2016-11-21 21:55:03 +0000 |
| commit | 8efbe6acaeaa8ce0fed7d710d3ccb48823a672f8 (patch) | |
| tree | f97a972909b2ae8c05681cd41f6dc2ce8ef43867 /llvm | |
| parent | 1e5677649c69ec101748387c760467b996488db2 (diff) | |
| download | bcm5719-llvm-8efbe6acaeaa8ce0fed7d710d3ccb48823a672f8.tar.gz bcm5719-llvm-8efbe6acaeaa8ce0fed7d710d3ccb48823a672f8.zip | |
LSR debug fix.
Summary:
Dump instruction instead of address.
Reviewers: hfinkel
Differential Revision: http://reviews.llvm.org/D26877
From: Evgeny Stupachenko <evstupac@gmail.com>
llvm-svn: 287584
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp index 75677079e37..3805d455a8a 100644 --- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp +++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp @@ -2815,7 +2815,7 @@ void LSRInstance::FinalizeChain(IVChain &Chain) { DEBUG(dbgs() << "Final Chain: " << *Chain.Incs[0].UserInst << "\n"); for (const IVInc &Inc : Chain) { - DEBUG(dbgs() << " Inc: " << Inc.UserInst << "\n"); + DEBUG(dbgs() << " Inc: " << *Inc.UserInst << "\n"); auto UseI = find(Inc.UserInst->operands(), Inc.IVOperand); assert(UseI != Inc.UserInst->op_end() && "cannot find IV operand"); IVIncSet.insert(UseI); |

