mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-27 13:42:24 +00:00
Get rid of a signed/unsigned compare warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ac225ca051
commit
ad2072643a
@ -882,7 +882,7 @@ unsigned LoopStrengthReduce::CheckForIVReuse(const SCEVHandle &Stride,
|
|||||||
I = TLI->legal_am_scale_begin(), E = TLI->legal_am_scale_end();
|
I = TLI->legal_am_scale_begin(), E = TLI->legal_am_scale_end();
|
||||||
I != E; ++I) {
|
I != E; ++I) {
|
||||||
unsigned Scale = *I;
|
unsigned Scale = *I;
|
||||||
if (abs(SInt) < Scale || (SInt % Scale) != 0)
|
if (unsigned(abs(SInt)) < Scale || (SInt % Scale) != 0)
|
||||||
continue;
|
continue;
|
||||||
std::map<SCEVHandle, IVsOfOneStride>::iterator SI =
|
std::map<SCEVHandle, IVsOfOneStride>::iterator SI =
|
||||||
IVsByStride.find(SCEVUnknown::getIntegerSCEV(SInt/Scale, Type::UIntTy));
|
IVsByStride.find(SCEVUnknown::getIntegerSCEV(SInt/Scale, Type::UIntTy));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user