[clang] [AMDGPU][Clang] Support for type inferring extended image builtins for AMDGPU (PR #164358)
Rana Pratap Reddy via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 28 09:31:24 PDT 2025
================
@@ -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:
adding a new case requires new builtin def. one for HIP and another for OpenCL.
https://github.com/llvm/llvm-project/pull/164358
More information about the cfe-commits
mailing list