[mlir] Add support for f8 data types to LLVM dialect types
authorEugene Zhulenev <ezhulenev@google.com>
Wed, 1 Feb 2023 21:48:50 +0000 (13:48 -0800)
committerEugene Zhulenev <ezhulenev@google.com>
Fri, 10 Mar 2023 02:52:36 +0000 (18:52 -0800)
commitfaf697e49bad099b36770c7738f36917e3d90d2d
treec5c5113532f3389d059c1e1c5b44a297a024939b
parent1f8a3ce325be51a1004657b08a607825447fee1b
[mlir] Add support for f8 data types to LLVM dialect types

This change allows using fp8 pointers when exporting to LLVM, because we anyway export them as opaque pointers, however full support of fp8 types is not yet implemented on the LLVM side.

Differential Revision: https://reviews.llvm.org/D143008
mlir/lib/Dialect/LLVMIR/IR/LLVMTypes.cpp
mlir/test/Target/LLVMIR/llvmir.mlir