summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2009-04-29 22:57:20 +0000
committerDale Johannesen <dalej@apple.com>2009-04-29 22:57:20 +0000
commitf4031bd01edd578bcab5cfedb9dc55f69ce199f9 (patch)
treec23814f89ef1928cf374f39850b6a3226dea24a9 /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
parent7e6e3527354fd7bc7f7c884b75693023c4dcefc8 (diff)
downloadbcm5719-llvm-f4031bd01edd578bcab5cfedb9dc55f69ce199f9.tar.gz
bcm5719-llvm-f4031bd01edd578bcab5cfedb9dc55f69ce199f9.zip
Print correct instruction in dump.
llvm-svn: 70427
Diffstat (limited to 'llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp')
-rw-r--r--llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index a6795a72ef9..2dc62823ec4 100644
--- a/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
@@ -1808,7 +1808,7 @@ void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride,
DOUT << " Examining use ";
DEBUG(WriteAsOperand(*DOUT, UsersToProcess.back().OperandValToReplace,
/*PrintType=*/false));
- DOUT << " in Inst: " << *Inst;
+ DOUT << " in Inst: " << *(User.Inst);
// If this instruction wants to use the post-incremented value, move it
// after the post-inc and use its value instead of the PHI.
OpenPOWER on IntegriCloud