[cfe-commits] r167983 - in /cfe/trunk: lib/Basic/Targets.cpp test/CodeGen/mult-alt-generic.c utils/C++Tests/LLVM-Code-Compile/lit.local.cfg utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg

Eric Christopher echristo at gmail.com
Wed Nov 14 14:08:59 PST 2012


Author: echristo
Date: Wed Nov 14 16:08:59 2012
New Revision: 167983

URL: http://llvm.org/viewvc/llvm-project?rev=167983&view=rev
Log:
Remove the cellspu port.

Approved by Chris Lattner.

Modified:
    cfe/trunk/lib/Basic/Targets.cpp
    cfe/trunk/test/CodeGen/mult-alt-generic.c
    cfe/trunk/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg
    cfe/trunk/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg
    cfe/trunk/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg

Modified: cfe/trunk/lib/Basic/Targets.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/Targets.cpp?rev=167983&r1=167982&r2=167983&view=diff
==============================================================================
--- cfe/trunk/lib/Basic/Targets.cpp (original)
+++ cfe/trunk/lib/Basic/Targets.cpp Wed Nov 14 16:08:59 2012
@@ -384,13 +384,13 @@
         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 @@
     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 @@
       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 @@
       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);
 

Modified: cfe/trunk/test/CodeGen/mult-alt-generic.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/mult-alt-generic.c?rev=167983&r1=167982&r2=167983&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/mult-alt-generic.c (original)
+++ cfe/trunk/test/CodeGen/mult-alt-generic.c Wed Nov 14 16:08:59 2012
@@ -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

Modified: cfe/trunk/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/C%2B%2BTests/LLVM-Code-Compile/lit.local.cfg?rev=167983&r1=167982&r2=167983&view=diff
==============================================================================
--- cfe/trunk/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg (original)
+++ cfe/trunk/utils/C++Tests/LLVM-Code-Compile/lit.local.cfg Wed Nov 14 16:08:59 2012
@@ -17,7 +17,6 @@
             '-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 @@
             '-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,

Modified: cfe/trunk/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/C%2B%2BTests/LLVM-Code-Symbols/lit.local.cfg?rev=167983&r1=167982&r2=167983&view=diff
==============================================================================
--- cfe/trunk/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg (original)
+++ cfe/trunk/utils/C++Tests/LLVM-Code-Symbols/lit.local.cfg Wed Nov 14 16:08:59 2012
@@ -17,7 +17,6 @@
             '-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 @@
             '-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,

Modified: cfe/trunk/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/C%2B%2BTests/LLVM-Code-Syntax/lit.local.cfg?rev=167983&r1=167982&r2=167983&view=diff
==============================================================================
--- cfe/trunk/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg (original)
+++ cfe/trunk/utils/C++Tests/LLVM-Code-Syntax/lit.local.cfg Wed Nov 14 16:08:59 2012
@@ -16,7 +16,6 @@
             '-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 @@
             '-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,





More information about the cfe-commits mailing list