diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index d25a8afcb51..b8a49f590f0 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -7447,8 +7447,8 @@ SCEVAddRecExpr::delinearize(ScalarEvolution &SE, for (const SCEV *S : Sizes) dbgs() << "[" << *S << "]"; - dbgs() << "ArrayRef"; - for (const SCEV *S : Sizes) + dbgs() << "\nArrayRef"; + for (const SCEV *S : Subscripts) dbgs() << "[" << *S << "]"; dbgs() << "\n"; });