1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 19:12:56 +02:00

Fix signed/unsigned gcc warning. NFCI.

llvm-svn: 320253
This commit is contained in:
Simon Pilgrim 2017-12-09 16:04:57 +00:00
parent 1720ebd649
commit 62e11683ea

View File

@ -501,7 +501,7 @@ bool ReverseDeltaNetwork::route(ElemType *P, RowType *T, unsigned Size,
// Reorder the working permutation according to the computed switch table
// for the last step (i.e. Pets).
for (ElemType J = 0; J != Size/2; ++J) {
for (ElemType J = 0, E = Size / 2; J != E; ++J) {
ElemType PJ = P[J]; // Current values of P[J]
ElemType PC = P[J+Size/2]; // and P[conj(J)]
ElemType QJ = PJ; // New values of P[J]