Skip to content

Commit f56f1e1

Browse files
Menookerjoker-eph
andauthored
Update mlir/lib/Transforms/RemoveDeadValues.cpp
Co-authored-by: Mehdi Amini <[email protected]>
1 parent eaff522 commit f56f1e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/RemoveDeadValues.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ static void cleanUpDeadVals(RDVFinalCleanupList &list) {
704704
}
705705

706706
// 4. Operands
707-
for (auto &o : list.operands) {
707+
for (OperationToCleanup &o : list.operands) {
708708
if (o.op->getNumOperands() > 0)
709709
o.op->eraseOperands(o.nonLive);
710710
}

0 commit comments

Comments
 (0)