Skip to content

Commit

Permalink
Remove bit-rotten CppBackend.
Browse files Browse the repository at this point in the history
This backend was supposed to generate C++ code which will re-construct
the LLVM IR passed as input. This seems to me to have very marginal
usefulness in the first place.

However, the code has never been updated to use IRBuilder, which makes
its current value negative -- people who look at the output may be
steered to use the *wrong* C++ APIs to construct IR.

Furthermore, it's generated code that doesn't compile since at least
2013.

Differential Revision: http://reviews.llvm.org/D19942

llvm-svn: 268631
  • Loading branch information
jyknight committed May 5, 2016
1 parent 996fc13 commit 0c145c0
Show file tree
Hide file tree
Showing 20 changed files with 8 additions and 2,457 deletions.
1 change: 0 additions & 1 deletion llvm/CMakeLists.txt
Expand Up @@ -226,7 +226,6 @@ set(LLVM_ALL_TARGETS
AMDGPU
ARM
BPF
CppBackend
Hexagon
Mips
MSP430
Expand Down
12 changes: 5 additions & 7 deletions llvm/docs/CodeGenerator.rst
Expand Up @@ -1771,13 +1771,11 @@ table that summarizes what features are supported by each target.
Target Feature Matrix
---------------------

Note that this table does not include the C backend or Cpp backends, since they
do not use the target independent code generator infrastructure. It also
doesn't list features that are not supported fully by any target yet. It
considers a feature to be supported if at least one subtarget supports it. A
feature being supported means that it is useful and works for most cases, it
does not indicate that there are zero known bugs in the implementation. Here is
the key:
Note that this table does not list features that are not supported fully by any
target yet. It considers a feature to be supported if at least one subtarget
supports it. A feature being supported means that it is useful and works for
most cases, it does not indicate that there are zero known bugs in the
implementation. Here is the key:

:raw-html:`<table border="1" cellspacing="0">`
:raw-html:`<tr>`
Expand Down
6 changes: 3 additions & 3 deletions llvm/docs/GettingStarted.rst
Expand Up @@ -730,9 +730,9 @@ used by people developing LLVM.
| | the configure script. The default list is defined |
| | as ``LLVM_ALL_TARGETS``, and can be set to include |
| | out-of-tree targets. The default value includes: |
| | ``AArch64, AMDGPU, ARM, BPF, CppBackend, Hexagon, |
| | Mips, MSP430, NVPTX, PowerPC, Sparc, SystemZ |
| | X86, XCore``. |
| | ``AArch64, AMDGPU, ARM, BPF, Hexagon, Mips, |
| | MSP430, NVPTX, PowerPC, Sparc, SystemZ, X86, |
| | XCore``. |
+-------------------------+----------------------------------------------------+
| LLVM_ENABLE_DOXYGEN | Build doxygen-based documentation from the source |
| | code This is disabled by default because it is |
Expand Down
5 changes: 0 additions & 5 deletions llvm/lib/Target/CppBackend/CMakeLists.txt

This file was deleted.

0 comments on commit 0c145c0

Please sign in to comment.