================
@@ -3,7 +3,7 @@
 
 typedef int int4 __attribute__((ext_vector_type(4)));
 typedef float float4 __attribute__((ext_vector_type(4)));
-typedef half half4 __attribute__((ext_vector_type(4)));
+typedef _Float16 half4 __attribute__((ext_vector_type(4)));
----------------
ranapratap55 wrote:

TARGET_BUILTIN(__builtin_amdgcn_image_sample_lz_2darray_v4f16_f32, 
"`V4x`ifffQtV4ibii", "nc", "extended-image-insts")

we are using "x" in the builtin def. We need to define separate builtins with 
"h" and "y" which results in code duplication. Isn't it?


https://github.com/llvm/llvm-project/pull/164358
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to