diff options
| author | Nico Weber <nicolasweber@gmx.de> | 2019-06-14 18:07:00 +0000 |
|---|---|---|
| committer | Nico Weber <nicolasweber@gmx.de> | 2019-06-14 18:07:00 +0000 |
| commit | 6e4957eb77f54d7af26bcf032ccf129a578c6a14 (patch) | |
| tree | 6a89584f7c9577b3f9bf54f6c29344425b1bf8e9 /llvm/lib/CodeGen/MachinePostDominators.cpp | |
| parent | 3819e68b9c9d0ef26cc71923bb0398401bd7761c (diff) | |
| download | bcm5719-llvm-6e4957eb77f54d7af26bcf032ccf129a578c6a14.tar.gz bcm5719-llvm-6e4957eb77f54d7af26bcf032ccf129a578c6a14.zip | |
gn build: Add NVPTX target
The NVPTX target is a bit unusual in that it's the only target without a
disassembler, and one of three targets without an asm parser (and the
first one of those three in the gn build). NVPTX doesn't have those
because it's not a binary format.
The CMake build checks for the existence of
{AsmParser,Disassembler}/CMakeLists.txt when setting
LLVM_ENUM_ASM_PARSERS / LLVM_ENUM_DISASSEBLERS
(http://llvm-cs.pcc.me.uk/CMakeLists.txt#744). The GN build doesn't want
to hit the disk for things like this, so instead I'm adding explicit
`targets_with_asm_parsers` and `targets_with_disassemblers` lists. Since
both are needed rarely, they are defined in their own gni files.
Differential Revision: https://reviews.llvm.org/D63210
llvm-svn: 363437
Diffstat (limited to 'llvm/lib/CodeGen/MachinePostDominators.cpp')
0 files changed, 0 insertions, 0 deletions

