diff options
Diffstat (limited to 'mlir/lib/IR/PatternMatch.cpp')
-rw-r--r-- | mlir/lib/IR/PatternMatch.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/IR/PatternMatch.cpp b/mlir/lib/IR/PatternMatch.cpp index 50e6eeec982..69b82ffb035 100644 --- a/mlir/lib/IR/PatternMatch.cpp +++ b/mlir/lib/IR/PatternMatch.cpp @@ -114,7 +114,7 @@ void PatternRewriter::mergeBlocks(Block *source, Block *dest, // Replace all of the successor arguments with the provided values. for (auto it : llvm::zip(source->getArguments(), argValues)) - std::get<0>(it)->replaceAllUsesWith(std::get<1>(it)); + std::get<0>(it).replaceAllUsesWith(std::get<1>(it)); // Splice the operations of the 'source' block into the 'dest' block and erase // it. |