aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Transforms
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
commit37beff26d8e13266c628ae2322c858aa22cd911b (patch)
treec879de212d04f031ff175fdbfae0ca341f513495 /lib/Transforms
parentb44aad7c75421736354c1f04cd7f824d4720e6ae (diff)
downloadexternal_llvm-37beff26d8e13266c628ae2322c858aa22cd911b.zip
external_llvm-37beff26d8e13266c628ae2322c858aa22cd911b.tar.gz
external_llvm-37beff26d8e13266c628ae2322c858aa22cd911b.tar.bz2
Print correct instruction in dump.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70427 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms')
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Transforms/Scalar/LoopStrengthReduce.cpp b/lib/Transforms/Scalar/LoopStrengthReduce.cpp
index a6795a7..2dc6282 100644
--- a/lib/Transforms/Scalar/LoopStrengthReduce.cpp
+++ b/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.