summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-11 14:23:55 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-11 14:23:55 +0000
commit11db920f7477573d4255a3d655750cefe75e5c33 (patch)
tree8c94f47576d80d4fd5c508dcb106a43280ddec0e
parent61c848d2549b5fa4e09776bb0a2d5306e001cb66 (diff)
downloadbcm5719-llvm-11db920f7477573d4255a3d655750cefe75e5c33.tar.gz
bcm5719-llvm-11db920f7477573d4255a3d655750cefe75e5c33.zip
[NFC][PowerPC] Header-dependent test requires "native"
Two recently added tests mention complications for cross-compile, but they do not actually enforce native compilation. This patch makes them require native compilation to avoid the complications they mention. llvm-svn: 363070
-rw-r--r--clang/test/CodeGen/ppc-mm-malloc-le.c2
-rw-r--r--clang/test/CodeGen/ppc-mm-malloc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/ppc-mm-malloc-le.c b/clang/test/CodeGen/ppc-mm-malloc-le.c
index 14c1b25d280..7f9c4c9d524 100644
--- a/clang/test/CodeGen/ppc-mm-malloc-le.c
+++ b/clang/test/CodeGen/ppc-mm-malloc-le.c
@@ -1,5 +1,5 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
-// REQUIRES: powerpc-registered-target
+// REQUIRES: native, powerpc-registered-target
// UNSUPPORTED: !powerpc64le-
// The stdlib.h included in mm_malloc.h references native system header
// like: bits/libc-header-start.h or features.h, cross-compile it may
diff --git a/clang/test/CodeGen/ppc-mm-malloc.c b/clang/test/CodeGen/ppc-mm-malloc.c
index b85d8d98c59..8559a850a89 100644
--- a/clang/test/CodeGen/ppc-mm-malloc.c
+++ b/clang/test/CodeGen/ppc-mm-malloc.c
@@ -1,5 +1,5 @@
// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py
-// REQUIRES: powerpc-registered-target
+// REQUIRES: native, powerpc-registered-target
// UNSUPPORTED: !powerpc64-
// The stdlib.h included in mm_malloc.h references native system header
// like: bits/libc-header-start.h or features.h, cross-compile it may
OpenPOWER on IntegriCloud