[all-commits] [llvm/llvm-project] b336ab: [mlir] add a way to query non-property attributes ...

ftynse via All-commits all-commits at lists.llvm.org
Thu Jan 4 07:40:27 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b336ab42dcc81a351b2f875f28c70b74d8814611
      https://github.com/llvm/llvm-project/commit/b336ab42dcc81a351b2f875f28c70b74d8814611
  Author: Oleksandr "Alex" Zinenko <zinenko at google.com>
  Date:   2024-01-04 (Thu, 04 Jan 2024)

  Changed paths:
    M mlir/include/mlir/IR/Operation.h
    M mlir/lib/IR/OperationSupport.cpp
    M mlir/lib/Interfaces/InferTypeOpInterface.cpp
    M mlir/unittests/Bytecode/BytecodeTest.cpp
    M mlir/unittests/IR/OpPropertiesTest.cpp

  Log Message:
  -----------
  [mlir] add a way to query non-property attributes (#76959)

This helps support generic manipulation of operations that don't (yet)
use properties to store inherent attributes.

Use this mechanism in type inference and operation equivalence.

Note that only minimal unit tests are introduced as all the upstream
dialects seem to have been updated to use properties and the
non-property behavior is essentially deprecated and untested.




More information about the All-commits mailing list