mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-05 12:31:33 +00:00
no need to worry about int vs uint any more.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32946 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ab4be63287
commit
d5dc0fb011
@ -900,8 +900,7 @@ unsigned LoopStrengthReduce::CheckForIVReuse(const SCEVHandle &Stride,
|
||||
IE = SI->second.IVs.end(); II != IE; ++II)
|
||||
// FIXME: Only handle base == 0 for now.
|
||||
// Only reuse previous IV if it would not require a type conversion.
|
||||
if (isZero(II->Base) &&
|
||||
II->Base->getType()->canLosslesslyBitCastTo(Ty)) {
|
||||
if (isZero(II->Base) && II->Base->getType() == Ty) {
|
||||
IV = *II;
|
||||
return Scale;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user