aboutsummaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-07-26 22:13:57 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-07-26 22:13:57 +0000
commit496cf2308acf4bb719a015517f27dff10db7de49 (patch)
tree7a34bdf0b66b61c00721fd3b1ffa56d9cc82bfc5 /unittests
parent107c578126c477ad330bb79defb10ef14eb7dad3 (diff)
downloadexternal_llvm-496cf2308acf4bb719a015517f27dff10db7de49.zip
external_llvm-496cf2308acf4bb719a015517f27dff10db7de49.tar.gz
external_llvm-496cf2308acf4bb719a015517f27dff10db7de49.tar.bz2
Revert "[PowerPC] Improve consistency in use of __ppc__, __powerpc__, etc."
This reverts commit r187248. It broke many bots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@187254 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/ADT/BitVectorTest.cpp2
-rw-r--r--unittests/ADT/PackedVectorTest.cpp2
-rw-r--r--unittests/ExecutionEngine/JIT/MultiJITTest.cpp3
3 files changed, 3 insertions, 4 deletions
diff --git a/unittests/ADT/BitVectorTest.cpp b/unittests/ADT/BitVectorTest.cpp
index 4d3223e..d7cde89 100644
--- a/unittests/ADT/BitVectorTest.cpp
+++ b/unittests/ADT/BitVectorTest.cpp
@@ -8,7 +8,7 @@
//===----------------------------------------------------------------------===//
// Some of these tests fail on PowerPC for unknown reasons.
-#if !defined(__ppc__) && !defined(__powerpc__)
+#ifndef __ppc__
#include "llvm/ADT/BitVector.h"
#include "llvm/ADT/SmallBitVector.h"
diff --git a/unittests/ADT/PackedVectorTest.cpp b/unittests/ADT/PackedVectorTest.cpp
index b6a7e58..55b5d8d 100644
--- a/unittests/ADT/PackedVectorTest.cpp
+++ b/unittests/ADT/PackedVectorTest.cpp
@@ -9,7 +9,7 @@
// BitVectorTest tests fail on PowerPC for unknown reasons, so disable this
// as well since it depends on a BitVector.
-#if !defined(__ppc__) && !defined(__powerpc__)
+#ifndef __ppc__
#include "llvm/ADT/PackedVector.h"
#include "gtest/gtest.h"
diff --git a/unittests/ExecutionEngine/JIT/MultiJITTest.cpp b/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
index 29689b7..4018cd5 100644
--- a/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
+++ b/unittests/ExecutionEngine/JIT/MultiJITTest.cpp
@@ -21,8 +21,7 @@ using namespace llvm;
namespace {
// ARM, PowerPC and SystemZ tests disabled pending fix for PR10783.
-#if !defined(__arm__) && !defined(__powerpc__) && !defined(__s390__) && \
- !defined(__ppc__)
+#if !defined(__arm__) && !defined(__powerpc__) && !defined(__s390__)
bool LoadAssemblyInto(Module *M, const char *assembly) {
SMDiagnostic Error;