Author: Morris Hafner Date: 2026-10-21T11:55:11-07:00 New Revision: 72dbb93f2a13485b077ae367a16f1907c2214091
URL: https://github.com/llvm/llvm-project/commit/72dbb93f2a13485b077ae367a16f1907c2214091 DIFF: https://github.com/llvm/llvm-project/commit/72dbb93f2a13485b077ae367a16f1907c2214091.diff LOG: [CIR][OpenMP] Specify x86 host triple in target-parallel test (#234314) The host RUN line inherits the compiler default triple even though the checks describe an x86 host with an AMDGPU offload target. Clang rejects the incompatible host and device pointer sizes on platforms like ARM32. Assisted-by: Codex Added: Modified: clang/test/CIR/CodeGenOpenMP/target-parallel.c Removed: ################################################################################ diff --git a/clang/test/CIR/CodeGenOpenMP/target-parallel.c b/clang/test/CIR/CodeGenOpenMP/target-parallel.c index a1832e7ffb3c2f..c7992665419853 100644 --- a/clang/test/CIR/CodeGenOpenMP/target-parallel.c +++ b/clang/test/CIR/CodeGenOpenMP/target-parallel.c @@ -1,7 +1,8 @@ // REQUIRES: amdgpu-registered-target // Host compilation (x86 host, AMDGPU offload target). -// RUN: %clang_cc1 -fopenmp -fopenmp-targets=amdgcn-amd-amdhsa -emit-cir -fclangir %s -o - \ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -fopenmp \ +// RUN: -fopenmp-targets=amdgcn-amd-amdhsa -emit-cir -fclangir %s -o - \ // RUN: | FileCheck %s --check-prefix=CIR-HOST // Device compilation (AMDGPU): allocas live in the private address space. _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
