From 31e01a7772d5112171fb97621b3114f8aa9bed67 Mon Sep 17 00:00:00 2001 From: Konstantin Schwarz <konstantin.schwarz@amd.com> Date: Wed, 11 Sep 2024 10:42:45 +0100 Subject: [PATCH] fixup! [AIE2] Add type stubs and intrinsics declarations that are not supported yet --- clang/lib/Headers/aiev2_aie_api_compat.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/clang/lib/Headers/aiev2_aie_api_compat.h b/clang/lib/Headers/aiev2_aie_api_compat.h index 3e75b83f7e1a..8bb10caf6647 100644 --- a/clang/lib/Headers/aiev2_aie_api_compat.h +++ b/clang/lib/Headers/aiev2_aie_api_compat.h @@ -54,12 +54,16 @@ struct v8cfloat { }; struct v16cfloat {}; -struct cbfloat16 {}; +struct cbfloat16 { + bfloat16 real; + bfloat16 imag; +}; struct v2cbfloat16 {}; struct v4cbfloat16 {}; struct v8cbfloat16 {}; struct v16cbfloat16 { v16cbfloat16(v16cint16); + operator v16cint16(); }; struct v32cbfloat16 {};