summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonas Hahnfeld <hahnjo@hahnjo.de>2017-10-04 13:54:09 +0000
committerJonas Hahnfeld <hahnjo@hahnjo.de>2017-10-04 13:54:09 +0000
commitcbbcd7fc1b0b368fa49ce7423894c6c49cf438da (patch)
tree95762477836ec1fe45f678dc7c8e7b3f4c6830f2
parent46a366ccb7d3e0dbd6bdac1380b03df3f7369f8d (diff)
downloadbcm5719-llvm-cbbcd7fc1b0b368fa49ce7423894c6c49cf438da.tar.gz
bcm5719-llvm-cbbcd7fc1b0b368fa49ce7423894c6c49cf438da.zip
[test] Pass in fixed triple for openmp-offload.c
This should fix the test on other architectures. Related to: https://reviews.llvm.org/D38372 llvm-svn: 314904
-rw-r--r--clang/test/Driver/openmp-offload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Driver/openmp-offload.c b/clang/test/Driver/openmp-offload.c
index 0eb1d4abf87..67098c90223 100644
--- a/clang/test/Driver/openmp-offload.c
+++ b/clang/test/Driver/openmp-offload.c
@@ -64,7 +64,7 @@
/// ##########################################################################
/// Check -march=pwr7 is NOT passed to nvptx64-nvidia-cuda.
-// RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -march=pwr7 %s 2>&1 \
+// RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=nvptx64-nvidia-cuda -target powerpc64le-ibm-linux-gnu -march=pwr7 %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHK-FOPENMP-MARCH-TO-GPU %s
// CHK-FOPENMP-MARCH-TO-GPU-NOT: clang{{.*}} "-target-cpu" "pwr7" {{.*}}"-fopenmp-is-device"
@@ -72,7 +72,7 @@
/// ###########################################################################
/// Check -march=pwr7 is NOT passed to x86_64-unknown-linux-gnu.
-// RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=x86_64-unknown-linux-gnu -march=pwr7 %s 2>&1 \
+// RUN: %clang -### -no-canonical-prefixes -fopenmp=libomp -fopenmp-targets=x86_64-unknown-linux-gnu -target powerpc64le-ibm-linux-gnu -march=pwr7 %s 2>&1 \
// RUN: | FileCheck -check-prefix=CHK-FOPENMP-MARCH-TO-X86 %s
// CHK-FOPENMP-MARCH-TO-X86-NOT: clang{{.*}} "-target-cpu" "pwr7" {{.*}}"-fopenmp-is-device"
OpenPOWER on IntegriCloud