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

Matthias Springer via All-commits all-commits at lists.llvm.org
Mon Dec 16 01:43:55 PST 2024


  Branch: refs/heads/users/matthias-springer/float_type_interface
  Home:   https://github.com/llvm/llvm-project
  Commit: 1ebf66db89409d866f1535c1cfa9c62746822168
      https://github.com/llvm/llvm-project/commit/1ebf66db89409d866f1535c1cfa9c62746822168
  Author: Matthias Springer <mspringer at nvidia.com>
  Date:   2024-12-16 (Mon, 16 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