From fd081ca50aa1575d79dd523a14cb39add8e23c5d Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 14 Nov 2012 22:08:59 +0000 Subject: [PATCH] Remove the cellspu port. Approved by Chris Lattner. llvm-svn: 167983 --- clang/lib/Basic/Targets.cpp | 14 +++++--------- clang/test/CodeGen/mult-alt-generic.c | 1 - clang/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg | 2 -- clang/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg | 2 -- clang/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg | 2 -- 5 files changed, 5 insertions(+), 16 deletions(-) diff --git a/clang/lib/Basic/Targets.cpp b/clang/lib/Basic/Targets.cpp index af0e043..6dabba8 100644 --- a/clang/lib/Basic/Targets.cpp +++ b/clang/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(T); - case llvm::Triple::tce: return new TCETargetInfo(T); diff --git a/clang/test/CodeGen/mult-alt-generic.c b/clang/test/CodeGen/mult-alt-generic.c index 1665f9c..6cf6f0a 100644 --- a/clang/test/CodeGen/mult-alt-generic.c +++ b/clang/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/clang/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg b/clang/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg index c1ac6a9..a0a6953 100644 --- a/clang/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg +++ b/clang/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/clang/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg b/clang/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg index 7882813..8081239c 100644 --- a/clang/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg +++ b/clang/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/clang/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg b/clang/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg index 42bec2d..e1ac2bf 100644 --- a/clang/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg +++ b/clang/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, -- 2.7.4