[Mlir-commits] [mlir] [mlir][Transforms] Dialect Conversion: Add 1:N support to `remapInput` (PR #131454)
Matthias Springer
llvmlistbot at llvm.org
Sat Mar 15 08:56:16 PDT 2025
================
@@ -92,9 +95,9 @@ class TypeConverter {
/// used if the new types are not intended to remap an existing input.
void addInputs(ArrayRef<Type> types);
- /// Remap an input of the original signature to another `replacement`
+ /// Remap an input of the original signature to another `replacements`
/// value. This drops the original argument.
- void remapInput(unsigned origInputNo, Value replacement);
+ void remapInput(unsigned origInputNo, ArrayRef<Value> replacements);
----------------
matthias-springer wrote:
This was on purpose because the other overloads in this class take an `ArrayRef<Type>`.
https://github.com/llvm/llvm-project/pull/131454
More information about the Mlir-commits
mailing list