diff options
| author | Dale Johannesen <dalej@apple.com> | 2009-04-29 22:57:20 +0000 |
|---|---|---|
| committer | Dale Johannesen <dalej@apple.com> | 2009-04-29 22:57:20 +0000 |
| commit | f4031bd01edd578bcab5cfedb9dc55f69ce199f9 (patch) | |
| tree | c23814f89ef1928cf374f39850b6a3226dea24a9 /llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp | |
| parent | 7e6e3527354fd7bc7f7c884b75693023c4dcefc8 (diff) | |
| download | bcm5719-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.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 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. |

