[PATCH] D61859: gn build: Fewer dependencies in llvm/lib/Target

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 13 09:46:40 PDT 2019


thakis created this revision.
thakis added a reviewer: dlj.
Herald added subscribers: jsji, aheejin, hiraditya, jgravelle-google, sbc100, javed.absar, nemanjai, dschuff.
Herald added a project: LLVM.

The tablegen groups only need public_deps for inc files included
(possibly transitively) in other targets. Move inc files that are
internan to the MCTargetDesc libraries into regular deps.

Reduces total size of the generated ninja files by 4kB and increases
build parallelism a tiny bit.

Related to the changes that merged InstPrinter into MCTargetDesc
(360484, 360486 etc).


https://reviews.llvm.org/D61859

Files:
  llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
  llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
  llvm/utils/gn/secondary/llvm/lib/Target/BPF/MCTargetDesc/BUILD.gn
  llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn
  llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn
  llvm/utils/gn/secondary/llvm/lib/Target/X86/MCTargetDesc/BUILD.gn

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61859.199284.patch
Type: text/x-patch
Size: 8717 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190513/375270c4/attachment.bin>


More information about the llvm-commits mailing list