[all-commits] [llvm/llvm-project] c996d3: [mlir][IR] Turn `FloatType` into a type interface

Matthias Springer via All-commits all-commits at lists.llvm.org
Thu Dec 5 16:42:59 PST 2024


  Branch: refs/heads/users/matthias-springer/float_type_interface
  Home:   https://github.com/llvm/llvm-project
  Commit: c996d3fac3c3a4a0a7c3615c39101a4bcf31c8fa
      https://github.com/llvm/llvm-project/commit/c996d3fac3c3a4a0a7c3615c39101a4bcf31c8fa
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-12-06 (Fri, 06 Dec 2024)

  Changed paths:
    M mlir/include/mlir/IR/BuiltinTypeInterfaces.h
    M mlir/include/mlir/IR/BuiltinTypeInterfaces.td
    M mlir/include/mlir/IR/BuiltinTypes.h
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/lib/IR/BuiltinTypeInterfaces.cpp
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/unittests/IR/InterfaceAttachmentTest.cpp

  Log Message:
  -----------
  [mlir][IR] Turn `FloatType` into a type interface

This makes it possible to add new floating point types in downstream projects. Also removes one place where we had to hard-code all existing floating point types (`FloatType::classof`).



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