[all-commits] [llvm/llvm-project] 657f60: [mlir][vector] add support for printing f16 and bf16

Aart Bik via All-commits all-commits at lists.llvm.org
Fri Mar 3 08:58:42 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 657f60a07b2d382dd8580dd8a6111ea5c6e2d889
      https://github.com/llvm/llvm-project/commit/657f60a07b2d382dd8580dd8a6111ea5c6e2d889
  Author: Aart Bik <ajcbik at google.com>
  Date:   2023-03-03 (Fri, 03 Mar 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/FunctionCallUtils.h
    M mlir/include/mlir/ExecutionEngine/CRunnerUtils.h
    M mlir/lib/Conversion/VectorToLLVM/ConvertVectorToLLVM.cpp
    M mlir/lib/Dialect/LLVMIR/IR/FunctionCallUtils.cpp
    M mlir/lib/ExecutionEngine/Float16bits.cpp
    A mlir/test/Integration/Dialect/Vector/CPU/test-print-fp.mlir

  Log Message:
  -----------
  [mlir][vector] add support for printing f16 and bf16

Love or hate it, but the vector.print operation was the very
first operation that actually made "end-to-end" CHECK integration
testing possible for MLIR. This revision adds support for
the -until recently- less common but important floating-point
types f16 and bf16.

This will become useful for accelerator specific testing (e.g. NVidia GPUs)

Reviewed By: wrengr

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




More information about the All-commits mailing list