forked from OSchip/llvm-project
...this is not a good commit day for me.
llvm-svn: 132294
This commit is contained in:
parent
e64371b932
commit
be6d0c0aea
|
@ -605,7 +605,7 @@ if test "$enableval" = host-only ; then
|
|||
enableval=host
|
||||
fi
|
||||
case "$enableval" in
|
||||
all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Glulx Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
|
||||
all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 SystemZ Blackfin CBackend CppBackend MBlaze PTX" ;;
|
||||
*)for a_target in `echo $enableval|sed -e 's/,/ /g' ` ; do
|
||||
case "$a_target" in
|
||||
x86) TARGETS_TO_BUILD="X86 $TARGETS_TO_BUILD" ;;
|
||||
|
@ -614,7 +614,6 @@ case "$enableval" in
|
|||
powerpc) TARGETS_TO_BUILD="PowerPC $TARGETS_TO_BUILD" ;;
|
||||
alpha) TARGETS_TO_BUILD="Alpha $TARGETS_TO_BUILD" ;;
|
||||
arm) TARGETS_TO_BUILD="ARM $TARGETS_TO_BUILD" ;;
|
||||
glulx) TARGETS_TO_BUILD="Glulx $TARGETS_TO_BUILD" ;;
|
||||
mips) TARGETS_TO_BUILD="Mips $TARGETS_TO_BUILD" ;;
|
||||
spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;;
|
||||
xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;;
|
||||
|
|
|
@ -50,7 +50,6 @@ public:
|
|||
arm, // ARM; arm, armv.*, xscale
|
||||
bfin, // Blackfin: bfin
|
||||
cellspu, // CellSPU: spu, cellspu
|
||||
glulx, // Glulx: glulx, glulx1, glulx2, glulx3
|
||||
mips, // MIPS: mips, mipsallegrex
|
||||
mipsel, // MIPSEL: mipsel, mipsallegrexel, psp
|
||||
msp430, // MSP430: msp430
|
||||
|
|
|
@ -27,7 +27,6 @@ const char *Triple::getArchTypeName(ArchType Kind) {
|
|||
case arm: return "arm";
|
||||
case bfin: return "bfin";
|
||||
case cellspu: return "cellspu";
|
||||
case glulx: return "glulx";
|
||||
case mips: return "mips";
|
||||
case mipsel: return "mipsel";
|
||||
case msp430: return "msp430";
|
||||
|
@ -63,8 +62,6 @@ const char *Triple::getArchTypePrefix(ArchType Kind) {
|
|||
|
||||
case cellspu: return "spu";
|
||||
|
||||
case glulx: return "glulx";
|
||||
|
||||
case ppc64:
|
||||
case ppc: return "ppc";
|
||||
|
||||
|
@ -142,8 +139,6 @@ Triple::ArchType Triple::getArchTypeForLLVMName(StringRef Name) {
|
|||
return bfin;
|
||||
if (Name == "cellspu")
|
||||
return cellspu;
|
||||
if (Name == "glulx")
|
||||
return glulx;
|
||||
if (Name == "mips")
|
||||
return mips;
|
||||
if (Name == "mipsel")
|
||||
|
@ -282,8 +277,6 @@ Triple::ArchType Triple::ParseArch(StringRef ArchName) {
|
|||
return thumb;
|
||||
else if (ArchName.startswith("alpha"))
|
||||
return alpha;
|
||||
else if (ArchName.startswith("glulx"))
|
||||
return glulx;
|
||||
else if (ArchName == "spu" || ArchName == "cellspu")
|
||||
return cellspu;
|
||||
else if (ArchName == "msp430")
|
||||
|
|
Loading…
Reference in New Issue