Skip to content

Commit

Permalink
Update WgToSg.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Garra1980 authored Oct 10, 2024
1 parent b0e7c06 commit 1a66373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/XeTile/Transforms/WgToSg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ class WGToSGArithConstantOpPattern
value.value_end<mlir::Attribute>());

llvm::SmallVector<mlir::Attribute> newValues;
for (int64_t i = 0; i < sgData[0] * sgData[1]; i++) {
for (int64_t i = 0; i < static_cast<int64_t>(sgData[0]) * sgData[1]; i++) {
newValues.push_back(elems[i]);
}

Expand Down

0 comments on commit 1a66373

Please sign in to comment.