mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
Update a comment to reflect the code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73704 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1d36e4fa7c
commit
6864db6fac
@ -778,8 +778,7 @@ SCEVHandle ScalarEvolution::getTruncateExpr(const SCEVHandle &Op,
|
||||
if (const SCEVZeroExtendExpr *SZ = dyn_cast<SCEVZeroExtendExpr>(Op))
|
||||
return getTruncateOrZeroExtend(SZ->getOperand(), Ty);
|
||||
|
||||
// If the input value is a chrec scev made out of constants, truncate
|
||||
// all of the constants.
|
||||
// If the input value is a chrec scev, truncate the chrec's operands.
|
||||
if (const SCEVAddRecExpr *AddRec = dyn_cast<SCEVAddRecExpr>(Op)) {
|
||||
SmallVector<SCEVHandle, 4> Operands;
|
||||
for (unsigned i = 0, e = AddRec->getNumOperands(); i != e; ++i)
|
||||
|
Loading…
Reference in New Issue
Block a user