Skip to content

Commit 257fabb

Browse files
committed
Remove bit-rotten CppBackend.
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268631 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 2887538 commit 257fabb

20 files changed

+8
-2457
lines changed

CMakeLists.txt

-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ set(LLVM_ALL_TARGETS
226226
AMDGPU
227227
ARM
228228
BPF
229-
CppBackend
230229
Hexagon
231230
Mips
232231
MSP430

docs/CodeGenerator.rst

+5-7
Original file line numberDiff line numberDiff line change
@@ -1771,13 +1771,11 @@ table that summarizes what features are supported by each target.
17711771
Target Feature Matrix
17721772
---------------------
17731773

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

17821780
:raw-html:`<table border="1" cellspacing="0">`
17831781
:raw-html:`<tr>`

docs/GettingStarted.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -730,9 +730,9 @@ used by people developing LLVM.
730730
| | the configure script. The default list is defined |
731731
| | as ``LLVM_ALL_TARGETS``, and can be set to include |
732732
| | out-of-tree targets. The default value includes: |
733-
| | ``AArch64, AMDGPU, ARM, BPF, CppBackend, Hexagon, |
734-
| | Mips, MSP430, NVPTX, PowerPC, Sparc, SystemZ |
735-
| | X86, XCore``. |
733+
| | ``AArch64, AMDGPU, ARM, BPF, Hexagon, Mips, |
734+
| | MSP430, NVPTX, PowerPC, Sparc, SystemZ, X86, |
735+
| | XCore``. |
736736
+-------------------------+----------------------------------------------------+
737737
| LLVM_ENABLE_DOXYGEN | Build doxygen-based documentation from the source |
738738
| | code This is disabled by default because it is |

lib/Target/CppBackend/CMakeLists.txt

-5
This file was deleted.

0 commit comments

Comments
 (0)