Fix signed/unsigned comparison warning. NFCI.

llvm-svn: 342469
This commit is contained in:
Simon Pilgrim 2018-09-18 12:01:25 +00:00
parent 5a851f3132
commit e3c6f8ddcf
1 changed files with 1 additions and 1 deletions

View File

@ -4508,7 +4508,7 @@ void CodeGenDAGPatterns::GenerateVariants() {
// Copy this to all the matching patterns.
for (int p = Matches.find_first(); p != -1; p = Matches.find_next(p))
if (p != i) {
if (p != (int)i) {
MatchedPatterns[p] = true;
MatchedPredicates[p] = Matches;
}