Print correct instruction in dump.

llvm-svn: 70427
This commit is contained in:
Dale Johannesen 2009-04-29 22:57:20 +00:00
parent 7e6e352735
commit f4031bd01e
1 changed files with 1 additions and 1 deletions

View File

@ -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.