Skip to content

Commit

Permalink
Fixup deprecation warnings (#876)
Browse files Browse the repository at this point in the history
  • Loading branch information
erwei-xilinx authored Jan 23, 2025
1 parent a598b31 commit 1c31263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Transform/AIRDmaToChannel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ cloneScfLoopUsingRemap(OpBuilder builder, IRMapping &remap, T loop_op,
SmallVector<OpFoldResult> o = *oldValues;
SmallVector<OpFoldResult> n = *newValues;
for (auto p : llvm::zip(o, n))
remap.map(std::get<0>(p).get<Value>(), std::get<1>(p).get<Value>());
remap.map(cast<Value>(std::get<0>(p)), cast<Value>(std::get<1>(p)));
};
remapVals(loop_op.getLoopLowerBounds(), new_loop_op.getLoopLowerBounds());
remapVals(loop_op.getLoopUpperBounds(), new_loop_op.getLoopUpperBounds());
Expand Down

0 comments on commit 1c31263

Please sign in to comment.