mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
print the type of an inserted IV in -debug mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
779dff1eee
commit
fe35555d09
@ -1029,10 +1029,12 @@ void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride,
|
||||
IncV = ReuseIV.IncV;
|
||||
}
|
||||
|
||||
const Type *ReplacedTy = CommonExprs->getType();
|
||||
|
||||
// Now that we know what we need to do, insert the PHI node itself.
|
||||
//
|
||||
DOUT << "INSERTING IV of STRIDE " << *Stride << " and BASE "
|
||||
<< *CommonExprs << " :\n";
|
||||
DOUT << "INSERTING IV of TYPE " << *ReplacedTy << " of STRIDE "
|
||||
<< *Stride << " and BASE " << *CommonExprs << " :\n";
|
||||
|
||||
SCEVExpander Rewriter(*SE, *LI);
|
||||
SCEVExpander PreheaderRewriter(*SE, *LI);
|
||||
@ -1043,7 +1045,6 @@ void LoopStrengthReduce::StrengthReduceStridedIVUsers(const SCEVHandle &Stride,
|
||||
|
||||
BasicBlock *LatchBlock = L->getLoopLatch();
|
||||
|
||||
const Type *ReplacedTy = CommonExprs->getType();
|
||||
|
||||
// Emit the initial base value into the loop preheader.
|
||||
Value *CommonBaseV
|
||||
|
Loading…
x
Reference in New Issue
Block a user