[all-commits] [llvm/llvm-project] 2217ca: [mlir][py] better support for arith.constant const...

ftynse via All-commits all-commits at lists.llvm.org
Wed Mar 6 02:50:30 PST 2024


  Branch: refs/heads/revert-84103-revert-83259-arith-const
  Home:   https://github.com/llvm/llvm-project
  Commit: 2217caceac600f5c0e84a0d6a55ec036e13ebf6a
      https://github.com/llvm/llvm-project/commit/2217caceac600f5c0e84a0d6a55ec036e13ebf6a
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2024-02-28 (Wed, 28 Feb 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.


  Commit: 1ccfb41ab32ac27b32919438a11806bd688a030d
      https://github.com/llvm/llvm-project/commit/1ccfb41ab32ac27b32919438a11806bd688a030d
  Author: Alex Zinenko <zinenko at google.com>
  Date:   2024-03-06 (Wed, 06 Mar 2024)

  Changed paths:
    M mlir/lib/IR/BuiltinAttributes.cpp

  Log Message:
  -----------
  printf debugging


Compare: https://github.com/llvm/llvm-project/compare/10361aebde0e...1ccfb41ab32a

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