[clang] 7a80a5d - [NFC][Clang][OpenMP] Fix the test issue of incompatible pointer size

Shilei Tian via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 29 11:39:13 PDT 2023


Author: Shilei Tian
Date: 2023-09-29T14:38:34-04:00
New Revision: 7a80a5d3b7d131e87aee3491b2ebc1406488caa4

URL: https://github.com/llvm/llvm-project/commit/7a80a5d3b7d131e87aee3491b2ebc1406488caa4
DIFF: https://github.com/llvm/llvm-project/commit/7a80a5d3b7d131e87aee3491b2ebc1406488caa4.diff

LOG: [NFC][Clang][OpenMP] Fix the test issue of incompatible pointer size

Added: 
    

Modified: 
    clang/test/OpenMP/ompx_bare_messages.c

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/ompx_bare_messages.c b/clang/test/OpenMP/ompx_bare_messages.c
index 795834fddebd150..e7bab1a0aafe6bb 100644
--- a/clang/test/OpenMP/ompx_bare_messages.c
+++ b/clang/test/OpenMP/ompx_bare_messages.c
@@ -1,6 +1,6 @@
-// RUN: %clang_cc1 -verify -fopenmp %s
-// RUN: %clang_cc1 -verify -fopenmp-simd %s
-// RUN: %clang_cc1 -verify -fopenmp -fopenmp-targets=nvptx64 %s
+// RUN: %clang_cc1 -verify -fopenmp -triple x86_64-unknown-unknown %s
+// RUN: %clang_cc1 -verify -fopenmp-simd -triple x86_64-unknown-unknown %s
+// RUN: %clang_cc1 -verify -fopenmp -triple x86_64-unknown-unknown -fopenmp-targets=nvptx64 %s
 
 void foo() {
 }


        


More information about the cfe-commits mailing list