pull/3139/head
Xinan Jiang(姜曦楠) 2024-04-12 10:47:40 +08:00
parent f6dee64cad
commit 244bd24a07
1 changed files with 3 additions and 2 deletions

View File

@ -819,8 +819,9 @@ public:
});
// Get the selected item directly from the concat operand.
Value replace;
for (int64_t sum = 0, i = 0; i < elements.size(); ++i) {
Value replace = op.getResult();
int64_t sum = 0;
for (unsigned i = 0; i < elements.size(); ++i) {
// Unsupported unknown dim size
if (elementWidths[i] == kUnknownSize)
return failure();