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 8d9755a commit 09f16b2Copy full SHA for 09f16b2
mlir/include/mlir/Transforms/DialectConversion.h
@@ -899,7 +899,7 @@ class ConversionPatternRewriter final : public PatternRewriter {
899
/// results and value ranges must match. The given operation is erased.
900
void replaceOpWithMultiple(Operation *op, ArrayRef<ValueRange> newValues);
901
template <typename RangeT>
902
- void replaceOpWithMultiple(Operation *op, RangeT newValues) {
+ void replaceOpWithMultiple(Operation *op, RangeT&& newValues) {
903
replaceOpWithMultiple(op,
904
ArrayRef(llvm::to_vector_of<ValueRange>(newValues)));
905
}
0 commit comments