Add basic compiler-rt builtins support for hexagon.
Differential Revision: https://reviews.llvm.org/D46364
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@331881 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/cmake/builtin-config-ix.cmake b/cmake/builtin-config-ix.cmake
index eda5f46..a5704e5 100644
--- a/cmake/builtin-config-ix.cmake
+++ b/cmake/builtin-config-ix.cmake
@@ -25,6 +25,7 @@
set(ARM64 aarch64)
set(ARM32 arm armhf armv6m armv7m armv7em armv7 armv7s armv7k)
+set(HEXAGON hexagon)
set(X86 i386)
set(X86_64 x86_64)
set(MIPS32 mips mipsel)
@@ -42,7 +43,7 @@
endif()
set(ALL_BUILTIN_SUPPORTED_ARCH ${X86} ${X86_64} ${ARM32} ${ARM64}
- ${MIPS32} ${MIPS64} ${PPC64} ${RISCV32} ${RISCV64} ${WASM32} ${WASM64})
+ ${HEXAGON} ${MIPS32} ${MIPS64} ${PPC64} ${RISCV32} ${RISCV64} ${WASM32} ${WASM64})
include(CompilerRTUtils)
include(CompilerRTDarwinUtils)