[clang] [Clang][AMDGPU] Use unsigned data type for `__builtin_amdgcn_raw_buffer_store_*` (PR #99546)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 18 12:02:00 PDT 2024
================
@@ -2,19 +2,19 @@
// REQUIRES: amdgpu-registered-target
// RUN: %clang_cc1 -triple amdgcn-unknown-unknown -target-cpu verde -emit-llvm -o - %s | FileCheck %s
-typedef char i8;
-typedef short i16;
-typedef int i32;
-typedef int i64 __attribute__((ext_vector_type(2)));
-typedef int i96 __attribute__((ext_vector_type(3)));
-typedef int i128 __attribute__((ext_vector_type(4)));
+typedef unsigned char u8;
+typedef unsigned short u16;
+typedef unsigned int u32;
+typedef unsigned int u64 __attribute__((ext_vector_type(2)));
+typedef unsigned int u96 __attribute__((ext_vector_type(3)));
+typedef unsigned int u128 __attribute__((ext_vector_type(4)));
----------------
arsenm wrote:
v2u32/v3u32/v4u32
https://github.com/llvm/llvm-project/pull/99546
More information about the cfe-commits
mailing list