summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2015-03-08 21:06:58 +0000
committerJoerg Sonnenberger <joerg@bec.de>2015-03-08 21:06:58 +0000
commit531cf7f4916656c6d586618ad2d91edf14dbda00 (patch)
tree61c7fad386afaabd1f01cc9c9326163a8e574f2e /compiler-rt
parent7384399ddcc4ddbf367b65929496d75a4e7c8716 (diff)
downloadbcm5719-llvm-531cf7f4916656c6d586618ad2d91edf14dbda00.tar.gz
bcm5719-llvm-531cf7f4916656c6d586618ad2d91edf14dbda00.zip
Don't produce warnings on !PowerPC.
llvm-svn: 231608
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/test/builtins/Unit/divtc3_test.c3
-rw-r--r--compiler-rt/test/builtins/Unit/multc3_test.c3
-rw-r--r--compiler-rt/test/builtins/Unit/powitf2_test.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/divtc3_test.c b/compiler-rt/test/builtins/Unit/divtc3_test.c
index 7bb74d75514..50918d68f1a 100644
--- a/compiler-rt/test/builtins/Unit/divtc3_test.c
+++ b/compiler-rt/test/builtins/Unit/divtc3_test.c
@@ -11,12 +11,13 @@
//
//===----------------------------------------------------------------------===//
+#include <stdio.h>
+
#if _ARCH_PPC
#include "int_lib.h"
#include <math.h>
#include <complex.h>
-#include <stdio.h>
// Returns: the quotient of (a + ib) / (c + id)
diff --git a/compiler-rt/test/builtins/Unit/multc3_test.c b/compiler-rt/test/builtins/Unit/multc3_test.c
index f8c66c0e426..8d3480157dd 100644
--- a/compiler-rt/test/builtins/Unit/multc3_test.c
+++ b/compiler-rt/test/builtins/Unit/multc3_test.c
@@ -11,12 +11,13 @@
//
//===----------------------------------------------------------------------===//
+#include <stdio.h>
+
#if _ARCH_PPC
#include "int_lib.h"
#include <math.h>
#include <complex.h>
-#include <stdio.h>
// Returns: the product of a + ib and c + id
diff --git a/compiler-rt/test/builtins/Unit/powitf2_test.c b/compiler-rt/test/builtins/Unit/powitf2_test.c
index 817cb1130de..dfe758837ee 100644
--- a/compiler-rt/test/builtins/Unit/powitf2_test.c
+++ b/compiler-rt/test/builtins/Unit/powitf2_test.c
@@ -11,10 +11,11 @@
//
//===----------------------------------------------------------------------===//
+#include <stdio.h>
+
#if _ARCH_PPC
#include "int_lib.h"
-#include <stdio.h>
#include <math.h>
// Returns: a ^ b
OpenPOWER on IntegriCloud