Skip to content

Commit bec59ab

Browse files
author
Xu, Xiaohui1
committed
rename file name
1 parent f96c544 commit bec59ab

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/gc/Transforms/CPUPhysicalRegisterPass.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2744,10 +2744,10 @@ void GroupOperationFusionImpl::broadcastFromElements(Operation *op,
27442744
}
27452745

27462746
void GroupOperationFusionImpl::scalarOperandFromElements() {
2747-
auto &opGroups = getGroupOperationFusion().getOpGroups();
2748-
2749-
for (auto [idx, grp] : llvm::enumerate(opGroups)) {
2750-
2747+
SmallVector<std::queue<Operation *>, 8> &opGroups =
2748+
getGroupOperationFusion().getOpGroups();
2749+
size_t idx = 0;
2750+
for (auto grp : opGroups) {
27512751
std::queue<Operation *> tmpQueue(grp);
27522752
while (!tmpQueue.empty()) {
27532753
auto op = tmpQueue.front();
@@ -2758,6 +2758,7 @@ void GroupOperationFusionImpl::scalarOperandFromElements() {
27582758
})
27592759
.Default([&](Operation *op) { return; });
27602760
}
2761+
idx++;
27612762
}
27622763
}
27632764

0 commit comments

Comments
 (0)