[llvm] [NFC][Offload] Correct the compile command of two C test files (PR #118243)

Shilei Tian via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 1 18:25:31 PST 2024


https://github.com/shiltian created https://github.com/llvm/llvm-project/pull/118243

The compile command for the two C test files are `compilexx`, which is actually
for C++ compilation.

>From e6de370cb2b63b12ed1bebc676e52f2b91544b1a Mon Sep 17 00:00:00 2001
From: Shilei Tian <i at tianshilei.me>
Date: Sun, 1 Dec 2024 21:23:50 -0500
Subject: [PATCH] [NFC][Offload] Correct the compile command of two C test
 files

The compile command for the two C test files are `compilexx`, which is actually
for C++ compilation.
---
 offload/test/mapping/map_both_pointer_pointee.c | 10 +++++-----
 offload/test/mapping/power_of_two_alignment.c   |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/offload/test/mapping/map_both_pointer_pointee.c b/offload/test/mapping/map_both_pointer_pointee.c
index c4894ed97af577..7be1ba465e7db5 100644
--- a/offload/test/mapping/map_both_pointer_pointee.c
+++ b/offload/test/mapping/map_both_pointer_pointee.c
@@ -1,8 +1,8 @@
-// RUN: %libomptarget-compilexx-run-and-check-aarch64-unknown-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-powerpc64-ibm-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-powerpc64le-ibm-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-x86_64-unknown-linux-gnu
-// RUN: %libomptarget-compilexx-run-and-check-nvptx64-nvidia-cuda
+// RUN: %libomptarget-compile-run-and-check-aarch64-unknown-linux-gnu
+// RUN: %libomptarget-compile-run-and-check-powerpc64-ibm-linux-gnu
+// RUN: %libomptarget-compile-run-and-check-powerpc64le-ibm-linux-gnu
+// RUN: %libomptarget-compile-run-and-check-x86_64-unknown-linux-gnu
+// RUN: %libomptarget-compile-run-and-check-nvptx64-nvidia-cuda
 
 // REQUIRES: unified_shared_memory
 // UNSUPPORTED: amdgcn-amd-amdhsa
diff --git a/offload/test/mapping/power_of_two_alignment.c b/offload/test/mapping/power_of_two_alignment.c
index faebe4f89fd9d8..0a457f97e16f5a 100644
--- a/offload/test/mapping/power_of_two_alignment.c
+++ b/offload/test/mapping/power_of_two_alignment.c
@@ -1,4 +1,4 @@
-// RUN: %libomptarget-compilexx-run-and-check-generic
+// RUN: %libomptarget-compile-run-and-check-generic
 
 // Assuming the stack is allocated on the host starting at high addresses, the
 // host memory layout for the following program looks like this:



More information about the llvm-commits mailing list