Skip to content

Commit 70cd727

Browse files
Update mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp
Co-authored-by: Tobias Gysi <[email protected]>
1 parent cd98fec commit 70cd727

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ static FailureOr<Block *> getConvertedBlock(ConversionPatternRewriter &rewriter,
128128
/// Flatten the given value ranges into a single vector of values.
129129
static SmallVector<Value> flattenValues(ArrayRef<ValueRange> values) {
130130
SmallVector<Value> result;
131-
for (const auto &vals : values)
131+
for (const ValueRange &vals : values)
132132
llvm::append_range(result, vals);
133133
return result;
134134
}

0 commit comments

Comments
 (0)