[all-commits] [llvm/llvm-project] a691f6: [mlir][py] better support for arith.constant const...
ftynse via All-commits
all-commits at lists.llvm.org
Tue Mar 5 07:10:12 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a691f65a845d6d5e639a83e8240a2543663c103a
https://github.com/llvm/llvm-project/commit/a691f65a845d6d5e639a83e8240a2543663c103a
Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
Date: 2024-03-05 (Tue, 05 Mar 2024)
Changed paths:
M mlir/python/mlir/dialects/arith.py
M mlir/test/python/dialects/arith_dialect.py
Log Message:
-----------
[mlir][py] better support for arith.constant construction (#83259)
Arithmetic constants for vector types can be constructed from objects
implementing Python buffer protocol such as `array.array`. Note that
until Python 3.12, there is no typing support for buffer protocol
implementers, so the annotations use array explicitly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list