Unverified Commit 5d59fa90 authored by Oleksandr "Alex" Zinenko's avatar Oleksandr "Alex" Zinenko Committed by GitHub
Browse files

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
parent 8aed911f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment