[all-commits] [llvm/llvm-project] 13c00c: [mlir][IR] Rename `DenseIntOrFPElementsAttr` to `D...

Matthias Springer via All-commits all-commits at lists.llvm.org
Fri Mar 13 09:27:45 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 13c00cbc2aa2ddc9aae2e72b02bc6cb2a482e0e7
      https://github.com/llvm/llvm-project/commit/13c00cbc2aa2ddc9aae2e72b02bc6cb2a482e0e7
  Author: Matthias Springer <me at m-sp.org>
  Date:   2026-03-13 (Fri, 13 Mar 2026)

  Changed paths:
    M cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/mlir-support.gdb
    M flang/lib/Optimizer/CodeGen/CodeGen.cpp
    M mlir/docs/Tutorials/Toy/Ch-2.md
    M mlir/include/mlir-c/BuiltinAttributes.h
    M mlir/include/mlir/IR/BuiltinAttributes.h
    M mlir/include/mlir/IR/BuiltinAttributes.td
    M mlir/include/mlir/IR/BuiltinDialectBytecode.td
    M mlir/lib/AsmParser/AttributeParser.cpp
    M mlir/lib/Bindings/Python/IRAttributes.cpp
    M mlir/lib/CAPI/IR/BuiltinAttributes.cpp
    M mlir/lib/Dialect/Arith/Transforms/ShardingInterfaceImpl.cpp
    M mlir/lib/Dialect/Linalg/Transforms/ConstantFold.cpp
    M mlir/lib/Dialect/SPIRV/IR/SPIRVOps.cpp
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/AttributeDetail.h
    M mlir/lib/IR/BuiltinAttributes.cpp
    M mlir/lib/IR/BuiltinDialectBytecode.cpp
    M mlir/lib/Rewrite/ByteCode.cpp
    M mlir/test/Bytecode/invalid/invalid-dense-elem-type-interface.mlir
    M mlir/test/Dialect/Builtin/Bytecode/attrs.mlir
    M mlir/utils/gdb-scripts/prettyprinters.py

  Log Message:
  -----------
  [mlir][IR] Rename `DenseIntOrFPElementsAttr` to `DenseTypedElementsAttr` (#185687)

`DenseIntOrFPElementsAttr` was recently generalized to accept any type
that implement the `DenseElementType` interface. The name
`DenseIntOrFPElementsAttr` does not make sense anymore. This commit
renames the attribute to `DenseTypedElementsAttr`. An alias is kept for
migration purposes. The alias will be removed after some time.



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