[all-commits] [llvm/llvm-project] 912599: Support retrieving the splat value from DenseEleme...

Adam Paszke via All-commits all-commits at lists.llvm.org
Tue Mar 21 08:43:44 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 912599638027e5cbed7b11318273b8703837c6ae
  Author: Adam Paszke <apaszke at google.com>
  Date:   2023-03-21 (Tue, 21 Mar 2023)

  Changed paths:
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/test/python/ir/array_attributes.py

  Log Message:
  Support retrieving the splat value from DenseElementsAttrs in Python

This is especially convenient when trying to resize the splat.

Reviewed By: jpienaar

Differential Revision: https://reviews.llvm.org/D146510

More information about the All-commits mailing list