[all-commits] [llvm/llvm-project] d39cb7: [mlir][py] better support for arith.constant const...
ftynse via All-commits
all-commits at lists.llvm.org
Thu Mar 7 07:03:04 PST 2024
Branch: refs/heads/revert-84103-revert-83259-arith-const
Home: https://github.com/llvm/llvm-project
Commit: d39cb79cddadbb6dc6914a8c9f0a54e0f8ce1329
https://github.com/llvm/llvm-project/commit/d39cb79cddadbb6dc6914a8c9f0a54e0f8ce1329
Author: Alex Zinenko <zinenko at google.com>
Date: 2024-03-07 (Thu, 07 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
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