[all-commits] [llvm/llvm-project] 40abd7: [mlir] Remove OpaqueElementsAttr

River Riddle via All-commits all-commits at lists.llvm.org
Mon Aug 1 15:04:03 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 40abd7ea641b1150fba58098d1545c0ddc6899cc
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2022-08-01 (Mon, 01 Aug 2022)

  Changed paths:
    M mlir/include/mlir-c/BuiltinAttributes.h
    M mlir/include/mlir/IR/BuiltinAttributes.td
    R mlir/include/mlir/Interfaces/DecodeAttributesInterfaces.h
    M mlir/lib/AsmParser/AttributeParser.cpp
    M mlir/lib/AsmParser/Parser.h
    M mlir/lib/AsmParser/TokenKinds.def
    M mlir/lib/CAPI/IR/BuiltinAttributes.cpp
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/lib/Tools/mlir-lsp-server/MLIRServer.cpp
    M mlir/test/CAPI/ir.c
    M mlir/test/IR/attribute.mlir
    M mlir/test/IR/elements-attr-interface.mlir
    M mlir/test/IR/invalid-builtin-attributes.mlir
    M mlir/test/IR/pretty-attributes.mlir
    M mlir/test/python/ir/operation.py
    M mlir/utils/gdb-scripts/prettyprinters.py

  Log Message:
  [mlir] Remove OpaqueElementsAttr

This attribute is technical debt from the early stages of MLIR, before
ElementsAttr was an interface and when it was more difficult for
dialects to define their own types of attributes. At present it isn't
used at all in tree (aside from being convenient for eliding other
ElementsAttr), and has had little to no evolution in the past three years.

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

More information about the All-commits mailing list