summaryrefslogtreecommitdiff
path: root/mlir/utils
diff options
context:
space:
mode:
authorJake Hall <jakeh@graphcore.ai>2023-02-13 14:10:20 +0000
committerChris Jackson <chrisj@graphcore.ai>2023-02-13 18:26:27 +0000
commit96267b6b88405c9222e69aadb669461533bc1352 (patch)
tree5d6a9aa8508414286f0b241be6ee0652175e4eb8 /mlir/utils
parent7c84f6a43ae384c9d90db3d93f03bffb363f0dcf (diff)
downloadllvm-96267b6b88405c9222e69aadb669461533bc1352.tar.gz
[mlir] Add Float8E5M2FNUZ and Float8E4M3FNUZ types to MLIR
Float8E5M2FNUZ and Float8E4M3FNUZ have been added to APFloat in D141863. This change adds these types as MLIR builtin types alongside Float8E5M2 and Float8E4M3FN (added in D133823 and D138075). Reviewed By: krzysz00 Differential Revision: https://reviews.llvm.org/D143744
Diffstat (limited to 'mlir/utils')
-rw-r--r--mlir/utils/lldb-scripts/mlirDataFormatters.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/mlir/utils/lldb-scripts/mlirDataFormatters.py b/mlir/utils/lldb-scripts/mlirDataFormatters.py
index f04516b18111..908a734f6e30 100644
--- a/mlir/utils/lldb-scripts/mlirDataFormatters.py
+++ b/mlir/utils/lldb-scripts/mlirDataFormatters.py
@@ -52,6 +52,8 @@ builtin_attr_type_mnemonics = {
"mlir::UnknownLoc": '"loc(unknown)"',
"mlir::Float8E5M2Type": '"f8E5M2"',
"mlir::Float8E4M3FNType": '"f8E4M3FN"',
+ "mlir::Float8E5M2FNUZType": '"f8E5M2FNUZ"',
+ "mlir::Float8E4M3FNUZType": '"f8E4M3FNUZ"',
"mlir::BFloat16Type": '"bf16"',
"mlir::Float16Type": '"f16"',
"mlir::Float32Type": '"f32"',