[compiler-rt] 8b55b47 - [compiler-rt] support armv5t, armv6
Ties Stuij via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 11 02:54:48 PST 2023
Author: Ties Stuij
Date: 2023-01-11T10:54:39Z
New Revision: 8b55b47f4bfa375ea20cca30f0a4a3a2289d16ed
URL: https://github.com/llvm/llvm-project/commit/8b55b47f4bfa375ea20cca30f0a4a3a2289d16ed
DIFF: https://github.com/llvm/llvm-project/commit/8b55b47f4bfa375ea20cca30f0a4a3a2289d16ed.diff
LOG: [compiler-rt] support armv5t, armv6
The legwork for these was done by https://reviews.llvm.org/D138725. Here we're
just adding the arch names to the cmake files and linking them to
arm_min_SOURCES.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D141322
Added:
Modified:
compiler-rt/cmake/builtin-config-ix.cmake
compiler-rt/lib/builtins/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/cmake/builtin-config-ix.cmake b/compiler-rt/cmake/builtin-config-ix.cmake
index 3bc263a1bc4fb..9f818499a076f 100644
--- a/compiler-rt/cmake/builtin-config-ix.cmake
+++ b/compiler-rt/cmake/builtin-config-ix.cmake
@@ -45,7 +45,7 @@ asm(\"cas w0, w1, [x2]\");
")
set(ARM64 aarch64)
-set(ARM32 arm armhf armv4t armv6m armv7m armv7em armv7 armv7s armv7k armv8m.main armv8.1m.main)
+set(ARM32 arm armhf armv4t armv5te armv6 armv6m armv7m armv7em armv7 armv7s armv7k armv8m.main armv8.1m.main)
set(AVR avr)
set(HEXAGON hexagon)
set(X86 i386)
diff --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index 33a20434fd02d..5e2274d522560 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -593,6 +593,8 @@ if (MINGW)
endif()
set(armv4t_SOURCES ${arm_min_SOURCES})
+set(armv5te_SOURCES ${arm_min_SOURCES})
+set(armv6_SOURCES ${arm_min_SOURCES})
set(armhf_SOURCES ${arm_SOURCES})
set(armv7_SOURCES ${arm_SOURCES})
set(armv7s_SOURCES ${arm_SOURCES})
More information about the llvm-commits
mailing list