[clang] [CIR][AMDGPU] Fix address space of __builtin_frame_address result (PR #233724)

Arseniy Obolenskiy via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 20 23:50:27 PDT 2026


================
@@ -4,6 +4,10 @@
 // RUN: FileCheck --input-file=%t-cir.ll %s -check-prefix=LLVM
 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -Wno-unused-value -emit-llvm %s -o %t.ll
 // RUN: FileCheck --input-file=%t.ll %s -check-prefix=LLVM
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -Wno-unused-value -fclangir -emit-cir %s -o %t-amdgpu.cir
+// RUN: FileCheck --input-file=%t-amdgpu.cir %s -check-prefix=CIR-AMDGPU
+// RUN: %clang_cc1 -triple amdgcn-amd-amdhsa -Wno-unused-value -fclangir -emit-llvm %s -o %t-amdgpu.ll
+// RUN: FileCheck --input-file=%t-amdgpu.ll %s -check-prefix=LLVM-AMDGPU
----------------
aobolensk wrote:

done

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


More information about the cfe-commits mailing list