Skip to content

Commit

Permalink
Update mlir/lib/Transforms/Utils/DialectConversion.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Jakub Kuderski <[email protected]>
  • Loading branch information
matthias-springer and kuhar committed Aug 12, 2024
1 parent d32a9a6 commit 3605a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/lib/Transforms/Utils/DialectConversion.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2471,7 +2471,7 @@ OperationConverter::finalize(ConversionPatternRewriter &rewriter) {
static Operation *findLiveUserOfReplaced(
Value initialValue, ConversionPatternRewriterImpl &rewriterImpl,
const DenseMap<Value, SmallVector<Value>> &inverseMapping) {
SmallVector<Value> worklist(1, initialValue);
SmallVector<Value> worklist = {initialValue};
while (!worklist.empty()) {
Value value = worklist.pop_back_val();

Expand Down

0 comments on commit 3605a74

Please sign in to comment.