[all-commits] [llvm/llvm-project] 6685fd: [mlir] Add support for TF32 as a Builtin FloatType

Jeremy Furtek via All-commits all-commits at lists.llvm.org
Thu Jul 6 08:56:38 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6685fd82391d3e654d3b05f2d54cdcdec6e6d887
      https://github.com/llvm/llvm-project/commit/6685fd82391d3e654d3b05f2d54cdcdec6e6d887
  Author: Jeremy Furtek <jfurtek at nvidia.com>
  Date:   2023-07-06 (Thu, 06 Jul 2023)

  Changed paths:
    M mlir/include/mlir-c/BuiltinTypes.h
    M mlir/include/mlir/IR/Builders.h
    M mlir/include/mlir/IR/BuiltinTypes.h
    M mlir/include/mlir/IR/BuiltinTypes.td
    M mlir/include/mlir/IR/OpBase.td
    M mlir/include/mlir/IR/Types.h
    M mlir/lib/AsmParser/TokenKinds.def
    M mlir/lib/AsmParser/TypeParser.cpp
    M mlir/lib/Bindings/Python/IRTypes.cpp
    M mlir/lib/CAPI/IR/BuiltinTypes.cpp
    M mlir/lib/IR/AsmPrinter.cpp
    M mlir/lib/IR/Builders.cpp
    M mlir/lib/IR/BuiltinTypes.cpp
    M mlir/lib/IR/MLIRContext.cpp
    M mlir/lib/IR/Types.cpp
    M mlir/python/mlir/_mlir_libs/_mlir/ir.pyi
    M mlir/test/IR/attribute.mlir
    M mlir/test/python/ir/builtin_types.py
    M mlir/utils/gdb-scripts/prettyprinters.py
    M mlir/utils/lldb-scripts/mlirDataFormatters.py

  Log Message:
  -----------
  [mlir] Add support for TF32 as a Builtin FloatType

This diff adds support for TF32 as a Builtin floating point type. This
supplements the recent addition of the TF32 semantic to the LLVM APFloat class
by extending usage to MLIR.

https://reviews.llvm.org/D151923

More information on the TF32 type can be found here:

https://blogs.nvidia.com/blog/2020/05/14/tensorfloat-32-precision-format/

Reviewed By: jpienaar

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




More information about the All-commits mailing list