nv50/ir/opt: silence warning (int < Elements() signedness)

This commit is contained in:
Christoph Bumiller 2012-04-02 20:55:03 +02:00
parent ef7f9f68cf
commit 51327a2df2
1 changed files with 1 additions and 1 deletions

View File

@ -1513,7 +1513,7 @@ MemoryOpt::replaceStFromSt(Instruction *restrict st, Record *rec)
// get non-replaced sources after values covered by st
for (; offR < endR; offR += ri->getSrc(s)->reg.size, ++s)
vals[k++] = ri->getSrc(s);
assert(k <= Elements(vals));
assert((unsigned int)k <= Elements(vals));
for (s = 0; s < k; ++s)
st->setSrc(s + 1, vals[s]);
st->setSrc(0, ri->getSrc(0));