From 3e6157de576e349d33a9b08d103405b3a8fb9159 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 25 Oct 2011 00:05:42 +0000 Subject: Remove the Blackfin backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142880 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 1 - autoconf/configure.ac | 8 +- configure | 4 +- docs/CodeGenerator.html | 8 - docs/ReleaseNotes.html | 2 +- include/llvm/ADT/Triple.h | 1 - lib/Support/Triple.cpp | 7 - lib/Target/Blackfin/Blackfin.h | 31 - lib/Target/Blackfin/Blackfin.td | 202 ----- lib/Target/Blackfin/BlackfinAsmPrinter.cpp | 156 ---- lib/Target/Blackfin/BlackfinCallingConv.td | 30 - lib/Target/Blackfin/BlackfinFrameLowering.cpp | 130 ---- lib/Target/Blackfin/BlackfinFrameLowering.h | 47 -- lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp | 180 ----- lib/Target/Blackfin/BlackfinISelLowering.cpp | 645 --------------- lib/Target/Blackfin/BlackfinISelLowering.h | 83 -- lib/Target/Blackfin/BlackfinInstrFormats.td | 34 - lib/Target/Blackfin/BlackfinInstrInfo.cpp | 256 ------ lib/Target/Blackfin/BlackfinInstrInfo.h | 81 -- lib/Target/Blackfin/BlackfinInstrInfo.td | 862 --------------------- lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp | 104 --- lib/Target/Blackfin/BlackfinIntrinsicInfo.h | 32 - lib/Target/Blackfin/BlackfinIntrinsics.td | 34 - lib/Target/Blackfin/BlackfinRegisterInfo.cpp | 344 -------- lib/Target/Blackfin/BlackfinRegisterInfo.h | 77 -- lib/Target/Blackfin/BlackfinRegisterInfo.td | 277 ------- lib/Target/Blackfin/BlackfinSelectionDAGInfo.cpp | 24 - lib/Target/Blackfin/BlackfinSelectionDAGInfo.h | 31 - lib/Target/Blackfin/BlackfinSubtarget.cpp | 44 -- lib/Target/Blackfin/BlackfinSubtarget.h | 49 -- lib/Target/Blackfin/BlackfinTargetMachine.cpp | 43 - lib/Target/Blackfin/BlackfinTargetMachine.h | 68 -- lib/Target/Blackfin/CMakeLists.txt | 38 - .../Blackfin/MCTargetDesc/BlackfinMCAsmInfo.cpp | 22 - .../Blackfin/MCTargetDesc/BlackfinMCAsmInfo.h | 29 - .../Blackfin/MCTargetDesc/BlackfinMCTargetDesc.cpp | 81 -- .../Blackfin/MCTargetDesc/BlackfinMCTargetDesc.h | 38 - lib/Target/Blackfin/MCTargetDesc/CMakeLists.txt | 11 - lib/Target/Blackfin/MCTargetDesc/Makefile | 16 - lib/Target/Blackfin/Makefile | 23 - lib/Target/Blackfin/README.txt | 244 ------ .../Blackfin/TargetInfo/BlackfinTargetInfo.cpp | 21 - lib/Target/Blackfin/TargetInfo/CMakeLists.txt | 13 - lib/Target/Blackfin/TargetInfo/Makefile | 15 - projects/sample/autoconf/configure.ac | 8 +- projects/sample/configure | 9 +- .../Blackfin/2009-08-04-LowerExtract-Live.ll | 16 - .../Blackfin/2009-08-11-RegScavenger-CSR.ll | 17 - test/CodeGen/Blackfin/2009-08-15-LiveIn-SubReg.ll | 19 - test/CodeGen/Blackfin/2009-08-15-MissingDead.ll | 25 - test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll | 16 - test/CodeGen/Blackfin/add-overflow.ll | 18 - test/CodeGen/Blackfin/add.ll | 5 - test/CodeGen/Blackfin/addsub-i128.ll | 42 - test/CodeGen/Blackfin/basic-i1.ll | 51 -- test/CodeGen/Blackfin/basic-i16.ll | 36 - test/CodeGen/Blackfin/basic-i32.ll | 51 -- test/CodeGen/Blackfin/basic-i64.ll | 51 -- test/CodeGen/Blackfin/basic-i8.ll | 51 -- test/CodeGen/Blackfin/basictest.ll | 19 - test/CodeGen/Blackfin/cmp-small-imm.ll | 6 - test/CodeGen/Blackfin/cmp64.ll | 17 - test/CodeGen/Blackfin/ct32.ll | 20 - test/CodeGen/Blackfin/ct64.ll | 20 - test/CodeGen/Blackfin/ctlz16.ll | 18 - test/CodeGen/Blackfin/ctlz64.ll | 15 - test/CodeGen/Blackfin/ctpop16.ll | 18 - test/CodeGen/Blackfin/cttz16.ll | 18 - test/CodeGen/Blackfin/cycles.ll | 17 - test/CodeGen/Blackfin/dg.exp | 5 - test/CodeGen/Blackfin/double-cast.ll | 8 - test/CodeGen/Blackfin/frameindex.ll | 10 - test/CodeGen/Blackfin/i17mem.ll | 9 - test/CodeGen/Blackfin/i1mem.ll | 9 - test/CodeGen/Blackfin/i1ops.ll | 10 - test/CodeGen/Blackfin/i216mem.ll | 9 - test/CodeGen/Blackfin/i248mem.ll | 9 - test/CodeGen/Blackfin/i256mem.ll | 9 - test/CodeGen/Blackfin/i256param.ll | 7 - test/CodeGen/Blackfin/i56param.ll | 8 - test/CodeGen/Blackfin/i8mem.ll | 10 - test/CodeGen/Blackfin/inline-asm.ll | 38 - test/CodeGen/Blackfin/int-setcc.ll | 80 -- test/CodeGen/Blackfin/invalid-apint.ll | 15 - test/CodeGen/Blackfin/jumptable.ll | 53 -- test/CodeGen/Blackfin/large-switch.ll | 187 ----- test/CodeGen/Blackfin/load-i16.ll | 13 - test/CodeGen/Blackfin/logic-i16.ll | 16 - test/CodeGen/Blackfin/many-args.ll | 23 - test/CodeGen/Blackfin/mulhu.ll | 106 --- test/CodeGen/Blackfin/printf.ll | 10 - test/CodeGen/Blackfin/printf2.ll | 8 - test/CodeGen/Blackfin/promote-logic.ll | 42 - test/CodeGen/Blackfin/promote-setcc.ll | 37 - test/CodeGen/Blackfin/sdiv.ll | 5 - test/CodeGen/Blackfin/simple-select.ll | 11 - test/CodeGen/Blackfin/switch.ll | 18 - test/CodeGen/Blackfin/switch2.ll | 16 - test/CodeGen/Blackfin/sync-intr.ll | 16 - .../lit/lit/ExampleTests/LLVM.InTree/test/site.exp | 2 +- .../ExampleTests/LLVM.OutOfTree/obj/test/site.exp | 2 +- 101 files changed, 10 insertions(+), 5820 deletions(-) delete mode 100644 lib/Target/Blackfin/Blackfin.h delete mode 100644 lib/Target/Blackfin/Blackfin.td delete mode 100644 lib/Target/Blackfin/BlackfinAsmPrinter.cpp delete mode 100644 lib/Target/Blackfin/BlackfinCallingConv.td delete mode 100644 lib/Target/Blackfin/BlackfinFrameLowering.cpp delete mode 100644 lib/Target/Blackfin/BlackfinFrameLowering.h delete mode 100644 lib/Target/Blackfin/BlackfinISelDAGToDAG.cpp delete mode 100644 lib/Target/Blackfin/BlackfinISelLowering.cpp delete mode 100644 lib/Target/Blackfin/BlackfinISelLowering.h delete mode 100644 lib/Target/Blackfin/BlackfinInstrFormats.td delete mode 100644 lib/Target/Blackfin/BlackfinInstrInfo.cpp delete mode 100644 lib/Target/Blackfin/BlackfinInstrInfo.h delete mode 100644 lib/Target/Blackfin/BlackfinInstrInfo.td delete mode 100644 lib/Target/Blackfin/BlackfinIntrinsicInfo.cpp delete mode 100644 lib/Target/Blackfin/BlackfinIntrinsicInfo.h delete mode 100644 lib/Target/Blackfin/BlackfinIntrinsics.td delete mode 100644 lib/Target/Blackfin/BlackfinRegisterInfo.cpp delete mode 100644 lib/Target/Blackfin/BlackfinRegisterInfo.h delete mode 100644 lib/Target/Blackfin/BlackfinRegisterInfo.td delete mode 100644 lib/Target/Blackfin/BlackfinSelectionDAGInfo.cpp delete mode 100644 lib/Target/Blackfin/BlackfinSelectionDAGInfo.h delete mode 100644 lib/Target/Blackfin/BlackfinSubtarget.cpp delete mode 100644 lib/Target/Blackfin/BlackfinSubtarget.h delete mode 100644 lib/Target/Blackfin/BlackfinTargetMachine.cpp delete mode 100644 lib/Target/Blackfin/BlackfinTargetMachine.h delete mode 100644 lib/Target/Blackfin/CMakeLists.txt delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCAsmInfo.cpp delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCAsmInfo.h delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCTargetDesc.cpp delete mode 100644 lib/Target/Blackfin/MCTargetDesc/BlackfinMCTargetDesc.h delete mode 100644 lib/Target/Blackfin/MCTargetDesc/CMakeLists.txt delete mode 100644 lib/Target/Blackfin/MCTargetDesc/Makefile delete mode 100644 lib/Target/Blackfin/Makefile delete mode 100644 lib/Target/Blackfin/README.txt delete mode 100644 lib/Target/Blackfin/TargetInfo/BlackfinTargetInfo.cpp delete mode 100644 lib/Target/Blackfin/TargetInfo/CMakeLists.txt delete mode 100644 lib/Target/Blackfin/TargetInfo/Makefile delete mode 100644 test/CodeGen/Blackfin/2009-08-04-LowerExtract-Live.ll delete mode 100644 test/CodeGen/Blackfin/2009-08-11-RegScavenger-CSR.ll delete mode 100644 test/CodeGen/Blackfin/2009-08-15-LiveIn-SubReg.ll delete mode 100644 test/CodeGen/Blackfin/2009-08-15-MissingDead.ll delete mode 100644 test/CodeGen/Blackfin/2009-08-15-SetCC-Undef.ll delete mode 100644 test/CodeGen/Blackfin/add-overflow.ll delete mode 100644 test/CodeGen/Blackfin/add.ll delete mode 100644 test/CodeGen/Blackfin/addsub-i128.ll delete mode 100644 test/CodeGen/Blackfin/basic-i1.ll delete mode 100644 test/CodeGen/Blackfin/basic-i16.ll delete mode 100644 test/CodeGen/Blackfin/basic-i32.ll delete mode 100644 test/CodeGen/Blackfin/basic-i64.ll delete mode 100644 test/CodeGen/Blackfin/basic-i8.ll delete mode 100644 test/CodeGen/Blackfin/basictest.ll delete mode 100644 test/CodeGen/Blackfin/cmp-small-imm.ll delete mode 100644 test/CodeGen/Blackfin/cmp64.ll delete mode 100644 test/CodeGen/Blackfin/ct32.ll delete mode 100644 test/CodeGen/Blackfin/ct64.ll delete mode 100644 test/CodeGen/Blackfin/ctlz16.ll delete mode 100644 test/CodeGen/Blackfin/ctlz64.ll delete mode 100644 test/CodeGen/Blackfin/ctpop16.ll delete mode 100644 test/CodeGen/Blackfin/cttz16.ll delete mode 100644 test/CodeGen/Blackfin/cycles.ll delete mode 100644 test/CodeGen/Blackfin/dg.exp delete mode 100644 test/CodeGen/Blackfin/double-cast.ll delete mode 100644 test/CodeGen/Blackfin/frameindex.ll delete mode 100644 test/CodeGen/Blackfin/i17mem.ll delete mode 100644 test/CodeGen/Blackfin/i1mem.ll delete mode 100644 test/CodeGen/Blackfin/i1ops.ll delete mode 100644 test/CodeGen/Blackfin/i216mem.ll delete mode 100644 test/CodeGen/Blackfin/i248mem.ll delete mode 100644 test/CodeGen/Blackfin/i256mem.ll delete mode 100644 test/CodeGen/Blackfin/i256param.ll delete mode 100644 test/CodeGen/Blackfin/i56param.ll delete mode 100644 test/CodeGen/Blackfin/i8mem.ll delete mode 100644 test/CodeGen/Blackfin/inline-asm.ll delete mode 100644 test/CodeGen/Blackfin/int-setcc.ll delete mode 100644 test/CodeGen/Blackfin/invalid-apint.ll delete mode 100644 test/CodeGen/Blackfin/jumptable.ll delete mode 100644 test/CodeGen/Blackfin/large-switch.ll delete mode 100644 test/CodeGen/Blackfin/load-i16.ll delete mode 100644 test/CodeGen/Blackfin/logic-i16.ll delete mode 100644 test/CodeGen/Blackfin/many-args.ll delete mode 100644 test/CodeGen/Blackfin/mulhu.ll delete mode 100644 test/CodeGen/Blackfin/printf.ll delete mode 100644 test/CodeGen/Blackfin/printf2.ll delete mode 100644 test/CodeGen/Blackfin/promote-logic.ll delete mode 100644 test/CodeGen/Blackfin/promote-setcc.ll delete mode 100644 test/CodeGen/Blackfin/sdiv.ll delete mode 100644 test/CodeGen/Blackfin/simple-select.ll delete mode 100644 test/CodeGen/Blackfin/switch.ll delete mode 100644 test/CodeGen/Blackfin/switch2.ll delete mode 100644 test/CodeGen/Blackfin/sync-intr.ll diff --git a/CMakeLists.txt b/CMakeLists.txt index 66ddaf68be..f3ff1979c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,7 +66,6 @@ endif() set(LLVM_ALL_TARGETS Alpha ARM - Blackfin CBackend CellSPU CppBackend diff --git a/autoconf/configure.ac b/autoconf/configure.ac index 32a1e8de7b..89f846749c 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -357,7 +357,6 @@ AC_CACHE_CHECK([target architecture],[llvm_cv_target_arch], mips-*) llvm_cv_target_arch="Mips" ;; xcore-*) llvm_cv_target_arch="XCore" ;; msp430-*) llvm_cv_target_arch="MSP430" ;; - bfin-*) llvm_cv_target_arch="Blackfin" ;; mblaze-*) llvm_cv_target_arch="MBlaze" ;; ptx-*) llvm_cv_target_arch="PTX" ;; *) llvm_cv_target_arch="Unknown" ;; @@ -493,7 +492,6 @@ else Mips) AC_SUBST(TARGET_HAS_JIT,1) ;; XCore) AC_SUBST(TARGET_HAS_JIT,0) ;; MSP430) AC_SUBST(TARGET_HAS_JIT,0) ;; - Blackfin) AC_SUBST(TARGET_HAS_JIT,0) ;; MBlaze) AC_SUBST(TARGET_HAS_JIT,0) ;; PTX) AC_SUBST(TARGET_HAS_JIT,0) ;; *) AC_SUBST(TARGET_HAS_JIT,0) ;; @@ -606,13 +604,13 @@ TARGETS_TO_BUILD="" AC_ARG_ENABLE([targets],AS_HELP_STRING([--enable-targets], [Build specific host targets: all or target1,target2,... Valid targets are: host, x86, x86_64, sparc, powerpc, alpha, arm, mips, spu, - xcore, msp430, blackfin, ptx, cbe, and cpp (default=all)]),, + xcore, msp430, ptx, cbe, and cpp (default=all)]),, enableval=all) if test "$enableval" = host-only ; then enableval=host fi case "$enableval" in - all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 Blackfin CBackend CppBackend MBlaze PTX" ;; + all) TARGETS_TO_BUILD="X86 Sparc PowerPC Alpha ARM Mips CellSPU XCore MSP430 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" ;; @@ -625,7 +623,6 @@ case "$enableval" in spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; - blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;; cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;; mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;; @@ -642,7 +639,6 @@ case "$enableval" in CellSPU|SPU) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; XCore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; MSP430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; - Blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; PTX) TARGETS_TO_BUILD="PTX $TARGETS_TO_BUILD" ;; *) AC_MSG_ERROR([Can not set target to build]) ;; esac ;; diff --git a/configure b/configure index cd3be75085..c76e6c007a 100755 --- a/configure +++ b/configure @@ -1416,7 +1416,7 @@ Optional Features: --enable-targets Build specific host targets: all or target1,target2,... Valid targets are: host, x86, x86_64, sparc, powerpc, alpha, arm, mips, spu, - xcore, msp430, blackfin, ptx, cbe, and cpp + xcore, msp430, ptx, cbe, and cpp (default=all) --enable-cbe-printf-a Enable C Backend output with hex floating point via %a (default is YES) @@ -3880,7 +3880,6 @@ else mips-*) llvm_cv_target_arch="Mips" ;; xcore-*) llvm_cv_target_arch="XCore" ;; msp430-*) llvm_cv_target_arch="MSP430" ;; - bfin-*) llvm_cv_target_arch="Blackfin" ;; mblaze-*) llvm_cv_target_arch="MBlaze" ;; ptx-*) llvm_cv_target_arch="PTX" ;; *) llvm_cv_target_arch="Unknown" ;; @@ -5287,7 +5286,6 @@ case "$enableval" in spu) TARGETS_TO_BUILD="CellSPU $TARGETS_TO_BUILD" ;; xcore) TARGETS_TO_BUILD="XCore $TARGETS_TO_BUILD" ;; msp430) TARGETS_TO_BUILD="MSP430 $TARGETS_TO_BUILD" ;; - blackfin) TARGETS_TO_BUILD="Blackfin $TARGETS_TO_BUILD" ;; cbe) TARGETS_TO_BUILD="CBackend $TARGETS_TO_BUILD" ;; cpp) TARGETS_TO_BUILD="CppBackend $TARGETS_TO_BUILD" ;; mblaze) TARGETS_TO_BUILD="MBlaze $TARGETS_TO_BUILD" ;; diff --git a/docs/CodeGenerator.html b/docs/CodeGenerator.html index c238fd3afc..aa6beb311b 100644 --- a/docs/CodeGenerator.html +++ b/docs/CodeGenerator.html @@ -2209,7 +2209,6 @@ is the key:

Feature ARM Alpha - Blackfin CellSPU MBlaze MSP430 @@ -2225,7 +2224,6 @@ is the key:

is generally reliable - @@ -2241,7 +2239,6 @@ is the key:

assembly parser - @@ -2257,7 +2254,6 @@ is the key:

disassembler - @@ -2273,7 +2269,6 @@ is the key:

inline asm - @@ -2289,7 +2284,6 @@ is the key:

jit * - @@ -2305,7 +2299,6 @@ is the key:

.o file writing - @@ -2321,7 +2314,6 @@ is the key:

tail calls - diff --git a/docs/ReleaseNotes.html b/docs/ReleaseNotes.html index e7f318a6f4..ce5804b900 100644 --- a/docs/ReleaseNotes.html +++ b/docs/ReleaseNotes.html @@ -759,7 +759,7 @@ components, please contact us on the LLVMdev list.