[PATCH] D61821: gn build: add RISCV target

Nico Weber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 14 05:49:09 PDT 2019


thakis added inline comments.


================
Comment at: llvm/utils/gn/secondary/llvm/lib/Target/RISCV/BUILD.gn:30
+    ":LLVMRISCVCodeGen",
+    "Utils",
+  ]
----------------
dlj wrote:
> thakis wrote:
> > I think this is the first target that has Utils depending on the higher-up tablegen target. What is this needed for?
> Oh, you're completely right... it should go in the public_deps of Utils. (Now I see what you mean... that's what AArch64 does, too.)
Thanks for moving RISCVGenSystemOperands to Utils/BUILD.gn. Does Utils still need depend on this tablegen group() here? If so, why? (No other target currently has this dep, as far as I can tell.) If not, can you remove the dep and make LLVMRISCVCodeGen dep on the tablegen targets in this file directly (like in other targets)?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61821/new/

https://reviews.llvm.org/D61821





More information about the llvm-commits mailing list