[all-commits] [llvm/llvm-project] ee308c: [mlir][py] Fix infer return type invocation for va...
Jacques Pienaar via All-commits
all-commits at lists.llvm.org
Mon Feb 6 17:04:08 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ee308c99ed0877edc286870089219179a2c64a9e
https://github.com/llvm/llvm-project/commit/ee308c99ed0877edc286870089219179a2c64a9e
Author: Jacques Pienaar <jpienaar at google.com>
Date: 2023-02-06 (Mon, 06 Feb 2023)
Changed paths:
M mlir/lib/Bindings/Python/IRInterfaces.cpp
M mlir/lib/Interfaces/ViewLikeInterface.cpp
M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
M mlir/test/python/dialects/tensor.py
Log Message:
-----------
[mlir][py] Fix infer return type invocation for variadics
Previously we only allowed the flattened list passed in, but the same
input provided here as to buildGeneric so flatten accordingly. We have
less info here than in buildGeneric so the error is more generic if
unpacking fails.
Differential Revision: https://reviews.llvm.org/D143240
More information about the All-commits
mailing list