[CMake][LoongArch] Add LoongArch to LLVM_ALL_TARGETS so it is built by default
authorWeining Lu <luweining@loongson.cn>
Tue, 10 Jan 2023 23:53:06 +0000 (07:53 +0800)
committerWeining Lu <luweining@loongson.cn>
Tue, 10 Jan 2023 23:53:08 +0000 (07:53 +0800)
This follows the [[ https://discourse.llvm.org/t/rfc-promoting-the-loongarch-backend-from-experimental-to-official/67506/ | RFC ]].

Follow-on commits will add appropriate release notes changes etc.

Submit this now and in a minimal form so there is reasonable time before
16.0.0 is branched to resolve any issues arising from e.g. the backend
being exposed on different compiler/sanitizer setups.

The current builder for LoongArch is on the [[ https://lab.llvm.org/staging/#/builders/236 | staging area ]].

Reviewed By: jyknight, MaskRay, echristo, myhsu, tstellar, arsenm

Differential Revision: https://reviews.llvm.org/D141191

llvm/CMakeLists.txt

index 8e8cd3e..58fc885 100644 (file)
@@ -431,6 +431,7 @@ set(LLVM_ALL_TARGETS
   BPF
   Hexagon
   Lanai
+  LoongArch
   Mips
   MSP430
   NVPTX