mirror of https://github.com/llvm/torch-mlir
fix
parent
f6dee64cad
commit
244bd24a07
|
@ -819,8 +819,9 @@ public:
|
||||||
});
|
});
|
||||||
|
|
||||||
// Get the selected item directly from the concat operand.
|
// Get the selected item directly from the concat operand.
|
||||||
Value replace;
|
Value replace = op.getResult();
|
||||||
for (int64_t sum = 0, i = 0; i < elements.size(); ++i) {
|
int64_t sum = 0;
|
||||||
|
for (unsigned i = 0; i < elements.size(); ++i) {
|
||||||
// Unsupported unknown dim size
|
// Unsupported unknown dim size
|
||||||
if (elementWidths[i] == kUnknownSize)
|
if (elementWidths[i] == kUnknownSize)
|
||||||
return failure();
|
return failure();
|
||||||
|
|
Loading…
Reference in New Issue