[llvm] [NFC][Offload] Correct the compile command of two C test files (PR #118243)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 1 18:26:09 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-offload
Author: Shilei Tian (shiltian)
<details>
<summary>Changes</summary>
The compile command for the two C test files are `compilexx`, which is actually
for C++ compilation.
---
Full diff: https://github.com/llvm/llvm-project/pull/118243.diff
2 Files Affected:
- (modified) offload/test/mapping/map_both_pointer_pointee.c (+5-5)
- (modified) offload/test/mapping/power_of_two_alignment.c (+1-1)
``````````diff
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:
``````````
</details>
https://github.com/llvm/llvm-project/pull/118243
More information about the llvm-commits
mailing list