From a0555b0f78f9377c1a5c9edc0f11c073697cb9c4 Mon Sep 17 00:00:00 2001 From: Evan Haas 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 };