[PATCH] D140088: add fp8 support

Kushan Ahmadian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 21:04:15 PST 2022


kushanam created this revision.
Herald added subscribers: hiraditya, dschuff.
Herald added a reviewer: deadalnix.
Herald added a project: All.
kushanam requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

The purpose of this patch is to add the two FP8 data types (E5M2 and E4M3) to the LLVM. This is the first step towards adding high level FP8 support. The consequent steps will enable the target specific codegen datatype lowerings.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140088

Files:
  llvm/docs/BitCodeFormat.rst
  llvm/include/llvm-c/Core.h
  llvm/include/llvm/Bitcode/LLVMBitCodes.h
  llvm/include/llvm/CodeGen/SelectionDAG.h
  llvm/include/llvm/CodeGen/ValueTypes.td
  llvm/include/llvm/IR/DataLayout.h
  llvm/include/llvm/IR/IRBuilder.h
  llvm/include/llvm/IR/Type.h
  llvm/include/llvm/Support/MachineValueType.h
  llvm/lib/Bitcode/Reader/BitcodeReader.cpp
  llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
  llvm/lib/CodeGen/ValueTypes.cpp
  llvm/lib/IR/AsmWriter.cpp
  llvm/lib/IR/Constants.cpp
  llvm/lib/IR/Core.cpp
  llvm/lib/IR/DataLayout.cpp
  llvm/lib/IR/Function.cpp
  llvm/lib/IR/LLVMContextImpl.cpp
  llvm/lib/IR/LLVMContextImpl.h
  llvm/lib/IR/Type.cpp
  llvm/lib/Target/Hexagon/HexagonTargetObjectFile.cpp
  llvm/tools/llvm-c-test/echo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140088.483078.patch
Type: text/x-patch
Size: 72267 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221215/04e91614/attachment-0001.bin>


More information about the llvm-commits mailing list