[all-commits] [llvm/llvm-project] 1fd1f6: [mlir] Refactor LegalizeToF32 to specify extra su...

Daniel Hernandez-Juarez via All-commits all-commits at lists.llvm.org
Fri Sep 27 08:02:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fd1f65569f565b5b06fd9464b3b91fcd6f2fa2a
      https://github.com/llvm/llvm-project/commit/1fd1f65569f565b5b06fd9464b3b91fcd6f2fa2a
  Author: Daniel Hernandez-Juarez <dhernandez0 at gmail.com>
  Date:   2024-09-27 (Fri, 27 Sep 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/Arith/Utils/Utils.h
    M mlir/include/mlir/Dialect/Math/Transforms/Passes.h
    M mlir/include/mlir/Dialect/Math/Transforms/Passes.td
    M mlir/lib/Dialect/Arith/Transforms/EmulateUnsupportedFloats.cpp
    M mlir/lib/Dialect/Arith/Utils/Utils.cpp
    M mlir/lib/Dialect/Math/Transforms/CMakeLists.txt
    A mlir/lib/Dialect/Math/Transforms/ExtendToSupportedTypes.cpp
    R mlir/lib/Dialect/Math/Transforms/LegalizeToF32.cpp
    A mlir/test/Dialect/Math/extend-to-supported-types-f16.mlir
    A mlir/test/Dialect/Math/extend-to-supported-types.mlir
    R mlir/test/Dialect/Math/legalize-to-f32.mlir

  Log Message:
  -----------
   [mlir] Refactor LegalizeToF32 to specify extra supported float types and target type as arguments (#108815)

Instead of hardcoding all fp smaller than 32 bits are unsupported we
provide a way to pass supported floating point types as well as the
target type. fp64 and fp32 are implicitly supported.

CC: @krzysz00 @manupak



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