Enable the LoongArch target, assembler parser and disassembler.
Signed-off-by: Xiaoqiang Zhao <zhaoxiaoqiang007@gmail.com>
Differential D59899
clang: enable the LoongArch target in in-tree llvm builds Authored by zhaoxiaoqiang007_gmail.com on Tue, Sep 22, 2:25 PM. Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Do we need a change in share/mk/src.opts.mk? Adding LLVM_TARGET_LOONGARCH to __DEFAULT_NO_OPTIONS for now? src.conf.5 will need to be regenerated as well Comment Actions I'm generally fine with this, but it is there a concrete plan to add LoongArch support for the base system? Otherwise I would advise to use one of the llvm ports for bringup first. Btw, this would also need adjustments in share/mk/src.opts.mk to add the MK_LLVM_TARGET_LOONGARCH make macro. Comment Actions
There's a lot of work (in review) to add support. I suspect we'll be iterating on it for some time, but IMO it's reasonable to have the toolchain infrastructure in the base system now. Comment Actions I just removed the remnants of the Mips target in rGb5d1e0c5a4929e2be3bc58aad8e5b707860ec0fd, please rebase. |