[clang] [AMDGPU] Allow the AS identifying builtins to take flat pointers (PR #230677)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Sun Oct 11 12:45:17 PDT 2026
================
@@ -0,0 +1,32 @@
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fsyntax-only -verify -x c %s
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fsyntax-only -verify -x c++ %s
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -fcuda-is-device -x hip -fsyntax-only -verify %s
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -cl-std=CL1.2 -fsyntax-only -verify -x cl %s
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -cl-std=CL2.0 -fsyntax-only -verify -x cl %s
----------------
shiltian wrote:
new target triple
https://github.com/llvm/llvm-project/pull/230677
More information about the cfe-commits
mailing list