[PATCH] D134220: [MIPS] Fix useDeprecatedPositionallyEncodedOperands errors.
Salieri W. via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 04:12:53 PDT 2022
BC204 added a comment.
As of commit 539fa1df4634dad7d99e4485e4fc3a82ff1a5481 <https://reviews.llvm.org/rG539fa1df4634dad7d99e4485e4fc3a82ff1a5481> \
with patch https://reviews.llvm.org/D131003, https://reviews.llvm.org/D134073 and https://reviews.llvm.org/D134220.
Compiling this source code
#define R1 2 // number of rows in Matrix-1{F24716679}
#define C1 2 // number of columns in Matrix-1
#define R2 2 // number of rows in Matrix-2
#define C2 2 // number of columns in Matrix-2
int rslt[R1][C2];
void mulMat(int mat1[][C1], int mat2[][C2])
{
//printf("Multiplication of given two matrices is:\n");
for (int i = 0; i < R1; i++) {
for (int j = 0; j < C2; j++) {
rslt[i][j] = 0;
for (int k = 0; k < R2; k++) {
rslt[i][j] += mat1[i][k] * mat2[k][j];
}
//printf("%d\t", rslt[i][j]);
}
//printf("\n");
}
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134220/new/
https://reviews.llvm.org/D134220
More information about the llvm-commits
mailing list