summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonard Chan <leonardchan@google.com>2019-02-20 05:07:14 +0000
committerLeonard Chan <leonardchan@google.com>2019-02-20 05:07:14 +0000
commita07f1b94e49cb4ce9e7824ec2fda65108a741090 (patch)
tree9e6cf792b008ffa47d4fc0d3f1eccdcc2dd9c141
parent2534592b9fe436004fa7fd7da73cbb3a00902b9c (diff)
downloadbcm5719-llvm-a07f1b94e49cb4ce9e7824ec2fda65108a741090.tar.gz
bcm5719-llvm-a07f1b94e49cb4ce9e7824ec2fda65108a741090.zip
Limit new PM tests to X86 registered targets.
llvm-svn: 354435
-rw-r--r--clang/test/Driver/msan.c5
-rw-r--r--clang/test/Driver/tsan.c2
2 files changed, 4 insertions, 3 deletions
diff --git a/clang/test/Driver/msan.c b/clang/test/Driver/msan.c
index 92b47ad4ce3..18ef2a96cac 100644
--- a/clang/test/Driver/msan.c
+++ b/clang/test/Driver/msan.c
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+
// RUN: %clang -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
// RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
// RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
@@ -22,9 +24,6 @@
// RUN: %clang -O2 -target x86_64-unknown-linux -fexperimental-new-pass-manager -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
// RUN: %clang -O3 -target x86_64-unknown-linux -fexperimental-new-pass-manager -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
-// RUN: %clang -fexperimental-new-pass-manager -target powerpc64-unknown-linux-gnu -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
-// RUN: %clang -fexperimental-new-pass-manager -target powerpc64le-unknown-linux-gnu -fsanitize=memory %s -S -emit-llvm -o - | FileCheck %s --check-prefix=CHECK-MSAN
-
int foo(int *a) { return *a; }
// CHECK-MSAN: __msan_init
// CHECK-KMSAN: __msan_get_context_state
diff --git a/clang/test/Driver/tsan.c b/clang/test/Driver/tsan.c
index 16337523482..ea88f87450f 100644
--- a/clang/test/Driver/tsan.c
+++ b/clang/test/Driver/tsan.c
@@ -1,3 +1,5 @@
+// REQUIRES: x86-registered-target
+
// RUN: %clang -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s
// RUN: %clang -O1 -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s
// RUN: %clang -O2 -target x86_64-unknown-linux -fsanitize=thread %s -S -emit-llvm -o - | FileCheck %s
OpenPOWER on IntegriCloud