From 7957a5f0770abaaa3257c827e2ae01db3c0bf6b9 Mon Sep 17 00:00:00 2001 From: Evan Haas <evan@lagerdata.com> Date: Sat, 2 Dec 2023 14:13:12 -0800 Subject: [PATCH] Builtins: handle _Float16 type specifier --- src/aro/Builtins.zig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/aro/Builtins.zig b/src/aro/Builtins.zig index b122b6e6..795c5dcb 100644 --- a/src/aro/Builtins.zig +++ b/src/aro/Builtins.zig @@ -99,10 +99,7 @@ fn createType(desc: TypeDescription, it: *TypeDescription.TypeIterator, comp: *c } }, .h => builder.combine(undefined, .fp16, 0) catch unreachable, - .x => { - // Todo: _Float16 - return .{ .specifier = .invalid }; - }, + .x => builder.combine(undefined, .float16, 0) catch unreachable, .y => { // Todo: __bf16 return .{ .specifier = .invalid };