From 1c31263bdb8b6ec2d3620f8437d34709918b7e62 Mon Sep 17 00:00:00 2001 From: erwei-xilinx Date: Wed, 22 Jan 2025 19:32:49 -0800 Subject: [PATCH] Fixup deprecation warnings (#876) --- mlir/lib/Transform/AIRDmaToChannel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mlir/lib/Transform/AIRDmaToChannel.cpp b/mlir/lib/Transform/AIRDmaToChannel.cpp index 6228c1000..78b37e441 100644 --- a/mlir/lib/Transform/AIRDmaToChannel.cpp +++ b/mlir/lib/Transform/AIRDmaToChannel.cpp @@ -202,7 +202,7 @@ cloneScfLoopUsingRemap(OpBuilder builder, IRMapping &remap, T loop_op, SmallVector o = *oldValues; SmallVector n = *newValues; for (auto p : llvm::zip(o, n)) - remap.map(std::get<0>(p).get(), std::get<1>(p).get()); + remap.map(cast(std::get<0>(p)), cast(std::get<1>(p))); }; remapVals(loop_op.getLoopLowerBounds(), new_loop_op.getLoopLowerBounds()); remapVals(loop_op.getLoopUpperBounds(), new_loop_op.getLoopUpperBounds());