mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
"Minor LSR debugging stuff"
llvm-svn: 147785
This commit is contained in:
parent
bcde69f19c
commit
b442611358
@ -3357,7 +3357,7 @@ retry:
|
||||
VisitedRegs.insert(F.ScaledReg ? F.ScaledReg : F.BaseRegs[0]);
|
||||
} else {
|
||||
DEBUG(dbgs() << "New best at "; NewCost.print(dbgs());
|
||||
dbgs() << ". Regs:";
|
||||
dbgs() << ".\n Regs:";
|
||||
for (SmallPtrSet<const SCEV *, 16>::const_iterator
|
||||
I = NewRegs.begin(), E = NewRegs.end(); I != E; ++I)
|
||||
dbgs() << ' ' << **I;
|
||||
@ -3815,6 +3815,9 @@ LSRInstance::ImplementSolution(const SmallVectorImpl<const Formula *> &Solution,
|
||||
SmallVector<WeakVH, 16> DeadInsts;
|
||||
|
||||
SCEVExpander Rewriter(SE, "lsr");
|
||||
#ifndef NDEBUG
|
||||
Rewriter.setDebugType(DEBUG_TYPE);
|
||||
#endif
|
||||
Rewriter.disableCanonicalMode();
|
||||
Rewriter.enableLSRMode();
|
||||
Rewriter.setIVIncInsertPos(L, IVIncInsertPos);
|
||||
|
Loading…
Reference in New Issue
Block a user