[clang] e4b790c - [OpenMP] Temporarily require X86 target for parallel_for_codegen.cpp test

David Spickett via cfe-commits cfe-commits at lists.llvm.org
Thu May 6 07:16:57 PDT 2021


Author: David Spickett
Date: 2021-05-06T14:16:43Z
New Revision: e4b790c5e3653053819182a67c593bc65de860ac

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

LOG: [OpenMP] Temporarily require X86 target for parallel_for_codegen.cpp test

Since https://reviews.llvm.org/D101849 this test has been failing
on bots that only enable either Arm or AArch64 targets.

See: https://lab.llvm.org/buildbot/#/builders/107/builds/7601

Temporarily requires X86 for this test while the difference is figured out.

Added: 
    

Modified: 
    clang/test/OpenMP/parallel_for_codegen.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/OpenMP/parallel_for_codegen.cpp b/clang/test/OpenMP/parallel_for_codegen.cpp
index 9abcd2190eb1..1ecee5bf40ac 100644
--- a/clang/test/OpenMP/parallel_for_codegen.cpp
+++ b/clang/test/OpenMP/parallel_for_codegen.cpp
@@ -24,6 +24,10 @@
 // RUN: %clang_cc1 -verify -fopenmp-simd -DOMP5 -x c++ -triple x86_64-unknown-unknown -emit-llvm %s -fexceptions -fcxx-exceptions -o - | FileCheck %s --check-prefix=CHECK13
 // RUN: %clang_cc1 -fopenmp-simd -DOMP5 -x c++ -std=c++11 -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -emit-pch -o %t %s
 // RUN: %clang_cc1 -fopenmp-simd -DOMP5 -x c++ -triple x86_64-unknown-unknown -fexceptions -fcxx-exceptions -std=c++11 -include-pch %t -verify %s -emit-llvm -o - | FileCheck %s --check-prefix=CHECK14
+
+/// The RUN using flags "-triple x86_64-apple-darwin10 -O1 -fopenmp-simd" generates 
diff erent IR when there is no X86 backend.
+// REQUIRES: x86-registered-target
+
 #ifndef HEADER
 #define HEADER
 


        


More information about the cfe-commits mailing list