Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ SmallVector<Value> LayoutPropagation::propagateToUsers(Value value,

void LayoutPropagation::propagateLayout() {
SmallVector<Value> queue;
for (auto it : layouts) {
for (const auto &it : layouts) {
queue.push_back(it.first);
}
while (!queue.empty()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class TritonIntelGPURewriteTensorPointerPass

assert(rewritedInfo.count(newOperands[i]) &&
"Expecting YieldOp operands in rewritedInfo");
auto info = rewritedInfo[newOperands[i]];
const auto &info = rewritedInfo[newOperands[i]];
newOperands = generateNewOperands(newOperands, i, info.getOffsets());
i += info.length() - 1;
size += info.length() - 1;
Expand Down