We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04ab599 commit 5a5f20eCopy full SHA for 5a5f20e
mlir/lib/Transforms/Utils/DialectConversion.cpp
@@ -1204,7 +1204,8 @@ LogicalResult ConversionPatternRewriterImpl::remapValues(
1204
// TODO: This is a 1:N conversion. The conversion value mapping does not
1205
// store such materializations yet. If the types of the most recently
1206
// mapped values do not match, build a target materialization.
1207
- if (TypeRange(unpacked) == legalTypes) {
+ ValueRange unpackedRange(unpacked);
1208
+ if (TypeRange(unpackedRange) == legalTypes) {
1209
remapped.push_back(std::move(unpacked));
1210
continue;
1211
}
0 commit comments