[Mlir-commits] [mlir] [mlir][ODS] Allow inferring operand types from multiple variables (PR #127517)
Jeff Niu
llvmlistbot at llvm.org
Tue Feb 18 09:51:18 PST 2025
================
@@ -457,8 +459,10 @@ void Operator::populateTypeInferenceInfo(
// If the type of the result has already been inferred, do nothing.
if (infer.inferred)
continue;
- int sourceIndex =
- argumentsAndResultsIndex.lookup(def.getValueAsString("lhs"));
+ std::vector<StringRef> args = def.getValueAsListOfStrings("args");
+ assert(args.size() == 1 &&
+ "multiple arguments for result inference not yet supported.");
----------------
Mogball wrote:
+1
https://github.com/llvm/llvm-project/pull/127517
More information about the Mlir-commits
mailing list