From 0adcaeced4dcd6dcd249e21e07b07badfa647f43 Mon Sep 17 00:00:00 2001 From: Alyssa Rosenzweig Date: Fri, 29 May 2026 12:14:33 -0400 Subject: [PATCH] jay/to_binary: relax packed float restriction Signed-off-by: Alyssa Rosenzweig Part-of: --- src/intel/compiler/jay/jay_to_binary.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intel/compiler/jay/jay_to_binary.c b/src/intel/compiler/jay/jay_to_binary.c index 9ed9a38b248..75f1f2a41b2 100644 --- a/src/intel/compiler/jay/jay_to_binary.c +++ b/src/intel/compiler/jay/jay_to_binary.c @@ -217,8 +217,7 @@ to_gen_operand(jay_function *f, } /* Packed floats have restrictions on mixed sizes. Use <2>. */ - if (jay_type_size_bits(I->type) == 16 && - jay_type_size_bits(jay_src_type(I, 0)) != 16) { + if (I->type == JAY_TYPE_F16 && jay_type_size_bits(src0_type) != 16) { assert(jay_num_values(d) == 1 && "must not vectorize mixed float"); R = gen_restride(R, 4, 2, 2); }