diff options
author | Eric Christopher <echristo@gmail.com> | 2012-11-14 22:08:59 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2012-11-14 22:08:59 +0000 |
commit | 825d386c1d66c2444117c0142c4d79246aaaa9bd (patch) | |
tree | bb4565d0278b8165a4c92cd3cdc4f5a46ea7aafe | |
parent | 5a95d460290142cc84c0805411032dadb4970922 (diff) |
Remove the cellspu port.
Approved by Chris Lattner.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167983 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/Targets.cpp | 14 | ||||
-rw-r--r-- | test/CodeGen/mult-alt-generic.c | 1 | ||||
-rw-r--r-- | utils/C++Tests/LLVM-Code-Compile/lit.local.cfg | 2 | ||||
-rw-r--r-- | utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg | 2 | ||||
-rw-r--r-- | utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg | 2 |
5 files changed, 5 insertions, 16 deletions
diff --git a/lib/Basic/Targets.cpp b/lib/Basic/Targets.cpp index af0e043fdd..6dabba8232 100644 --- a/lib/Basic/Targets.cpp +++ b/lib/Basic/Targets.cpp @@ -384,13 +384,13 @@ public: case llvm::Triple::x86: case llvm::Triple::x86_64: case llvm::Triple::arm: - case llvm::Triple::sparc: + case llvm::Triple::sparc: this->MCountName = "__mcount"; break; case llvm::Triple::mips64: case llvm::Triple::mips64el: case llvm::Triple::ppc: - case llvm::Triple::sparcv9: + case llvm::Triple::sparcv9: this->MCountName = "_mcount"; break; } @@ -1647,7 +1647,7 @@ public: NumAliases = 0; } virtual void getGCCAddlRegNames(const AddlRegName *&Names, - unsigned &NumNames) const { + unsigned &NumNames) const { Names = AddlRegNames; NumNames = llvm::array_lengthof(AddlRegNames); } @@ -3325,11 +3325,11 @@ public: case 'v': // ...VFP load/store (reg+constant offset) case 'y': // ...iWMMXt load/store case 't': // address valid for load/store opaque types wider - // than 128-bits + // than 128-bits case 'n': // valid address for Neon doubleword vector load/store case 'm': // valid address for Neon element and structure load/store case 's': // valid address for non-offset loads/stores of quad-word - // values in four ARM registers + // values in four ARM registers Info.setAllowsMemory(); Name++; return true; @@ -4580,10 +4580,6 @@ static TargetInfo *AllocateTarget(const std::string &T) { return new SparcV8TargetInfo(T); } - // FIXME: Need a real SPU target. - case llvm::Triple::cellspu: - return new PS3SPUTargetInfo<PPC64TargetInfo>(T); - case llvm::Triple::tce: return new TCETargetInfo(T); diff --git a/test/CodeGen/mult-alt-generic.c b/test/CodeGen/mult-alt-generic.c index 1665f9caa0..6cf6f0a270 100644 --- a/test/CodeGen/mult-alt-generic.c +++ b/test/CodeGen/mult-alt-generic.c @@ -1,7 +1,6 @@ // RUN: %clang_cc1 -triple i686 %s -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 -triple x86_64 %s -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 -triple arm %s -emit-llvm -o - | FileCheck %s -// RUN: %clang_cc1 -triple cellspu %s -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 -triple mblaze %s -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 -triple mips %s -emit-llvm -o - | FileCheck %s // RUN: %clang_cc1 -triple mipsel %s -emit-llvm -o - | FileCheck %s diff --git a/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg b/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg index c1ac6a9a1f..a0a6953af1 100644 --- a/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg +++ b/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg @@ -17,7 +17,6 @@ cxxflags = ['-D__STDC_LIMIT_MACROS', '-I%s/include' % root.llvm_src_root, '-I%s/include' % root.llvm_obj_root, '-I%s/lib/Target/ARM' % root.llvm_src_root, - '-I%s/lib/Target/CellSPU' % root.llvm_src_root, '-I%s/lib/Target/CppBackend' % root.llvm_src_root, '-I%s/lib/Target/Mips' % root.llvm_src_root, '-I%s/lib/Target/MSIL' % root.llvm_src_root, @@ -28,7 +27,6 @@ cxxflags = ['-D__STDC_LIMIT_MACROS', '-I%s/lib/Target/X86' % root.llvm_src_root, '-I%s/lib/Target/XCore' % root.llvm_src_root, '-I%s/lib/Target/ARM' % target_obj_root, - '-I%s/lib/Target/CellSPU' % target_obj_root, '-I%s/lib/Target/CppBackend' % target_obj_root, '-I%s/lib/Target/Mips' % target_obj_root, '-I%s/lib/Target/MSIL' % target_obj_root, diff --git a/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg b/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg index 7882813d79..8081239cb0 100644 --- a/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg +++ b/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg @@ -17,7 +17,6 @@ cxxflags = ['-D__STDC_LIMIT_MACROS', '-I%s/include' % root.llvm_src_root, '-I%s/include' % root.llvm_obj_root, '-I%s/lib/Target/ARM' % root.llvm_src_root, - '-I%s/lib/Target/CellSPU' % root.llvm_src_root, '-I%s/lib/Target/CppBackend' % root.llvm_src_root, '-I%s/lib/Target/Mips' % root.llvm_src_root, '-I%s/lib/Target/MSIL' % root.llvm_src_root, @@ -28,7 +27,6 @@ cxxflags = ['-D__STDC_LIMIT_MACROS', '-I%s/lib/Target/X86' % root.llvm_src_root, '-I%s/lib/Target/XCore' % root.llvm_src_root, '-I%s/lib/Target/ARM' % target_obj_root, - '-I%s/lib/Target/CellSPU' % target_obj_root, '-I%s/lib/Target/CppBackend' % target_obj_root, '-I%s/lib/Target/Mips' % target_obj_root, '-I%s/lib/Target/MSIL' % target_obj_root, diff --git a/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg b/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg index 42bec2d767..e1ac2bfcac 100644 --- a/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg +++ b/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg @@ -16,7 +16,6 @@ cxxflags = ['-D__STDC_LIMIT_MACROS', '-I%s/include' % root.llvm_src_root, '-I%s/include' % root.llvm_obj_root, '-I%s/lib/Target/ARM' % root.llvm_src_root, - '-I%s/lib/Target/CellSPU' % root.llvm_src_root, '-I%s/lib/Target/CppBackend' % root.llvm_src_root, '-I%s/lib/Target/Mips' % root.llvm_src_root, '-I%s/lib/Target/MSIL' % root.llvm_src_root, @@ -27,7 +26,6 @@ cxxflags = ['-D__STDC_LIMIT_MACROS', '-I%s/lib/Target/X86' % root.llvm_src_root, '-I%s/lib/Target/XCore' % root.llvm_src_root, '-I%s/lib/Target/ARM' % target_obj_root, - '-I%s/lib/Target/CellSPU' % target_obj_root, '-I%s/lib/Target/CppBackend' % target_obj_root, '-I%s/lib/Target/Mips' % target_obj_root, '-I%s/lib/Target/MSIL' % target_obj_root, |