[all-commits] [llvm/llvm-project] 5d59fa: Reapply "[mlir][py] better support for arith.const...
ftynse via All-commits
all-commits at lists.llvm.org
Thu Mar 7 08:14:31 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5d59fa90ce225814739d9b51ba37e1cca9204cad
https://github.com/llvm/llvm-project/commit/5d59fa90ce225814739d9b51ba37e1cca9204cad
Author: Oleksandr "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:
-----------
Reapply "[mlir][py] better support for arith.constant construction" (#84142)
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.
Reverts llvm/llvm-project#84103
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