[clang] [Clang] Make the AS of llvm.compiler.used & llvm.used elements addrspace(0) (PR #164432)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 31 15:14:57 PDT 2025


Juan Manuel Martinez =?utf-8?q?CaamaƱo?= <juamarti at amd.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/164432 at github.com>


================
@@ -0,0 +1,38 @@
+// RUN: %clang_cc1 -triple x86_64-- -emit-llvm -x c %s -o - \
+// RUN:   | FileCheck %s --check-prefix=X86
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -emit-llvm -x c %s -o - \
----------------
arsenm wrote:

probably worth checking with -x cl -cl-std=CL1.2, that's the special case that's problematic 

https://github.com/llvm/llvm-project/pull/164432


More information about the cfe-commits mailing list