diff options
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp b/llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp index c76fb031d68..72c347e0051 100644 --- a/llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp +++ b/llvm/lib/Target/PowerPC/PPCLoopPreIncPrep.cpp @@ -407,7 +407,7 @@ bool PPCLoopPreIncPrep::prepareBaseForDispFormChain(Bucket &BucketChain, // remainder 1 and the other for remainder 2, thus we could get 19 DS form and 1 // X form. unsigned MaxCountRemainder = 0; - for (unsigned j = 0; j < Form; j++) + for (unsigned j = 0; j < (unsigned)Form; j++) if ((RemainderOffsetInfo.find(j) != RemainderOffsetInfo.end()) && RemainderOffsetInfo[j].second > RemainderOffsetInfo[MaxCountRemainder].second) |