Skip to content

Commit 2608c5b

Browse files
[mlir][Transforms] Fix build
Fix build after #151865.
1 parent 7e7c9d9 commit 2608c5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Transforms/Utils/DialectConversion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1785,7 +1785,7 @@ getReplacementValues(ConversionPatternRewriterImpl &impl, ValueRange fromRange,
17851785
continue;
17861786
}
17871787

1788-
if (TypeRange(to) == TypeRange(from.getType())) {
1788+
if (TypeRange(ValueRange(to)) == TypeRange(from.getType())) {
17891789
// The replacement value already has the correct type. Use it directly.
17901790
repls.push_back(to[0]);
17911791
continue;

0 commit comments

Comments
 (0)