Skip to content

Commit 072713a

Browse files
authored
Revert "[compiler-rt][aarch64] Add SME ABI support routines." (#68875)
This reverts commit 2b05fa8. It caused build errors in compiler-rt.
1 parent 2f43ace commit 072713a

File tree

5 files changed

+0
-249
lines changed

5 files changed

+0
-249
lines changed

compiler-rt/cmake/Modules/AddCompilerRT.cmake

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -312,10 +312,6 @@ function(add_compiler_rt_runtime name type)
312312
set(COMPONENT_OPTION COMPONENT ${libname})
313313
endif()
314314

315-
if(type STREQUAL "SHARED")
316-
list(APPEND LIB_DEFS COMPILER_RT_SHARED_LIB)
317-
endif()
318-
319315
if(type STREQUAL "OBJECT")
320316
if(CMAKE_C_COMPILER_ID MATCHES Clang AND CMAKE_C_COMPILER_TARGET)
321317
list(APPEND extra_cflags_${libname} "--target=${CMAKE_C_COMPILER_TARGET}")

compiler-rt/cmake/builtin-config-ix.cmake

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,6 @@ asm(\".arch armv8-a+lse\");
3333
asm(\"cas w0, w1, [x2]\");
3434
")
3535

36-
builtin_check_c_compiler_source(COMPILER_RT_HAS_ASM_SME
37-
"
38-
asm(\".arch armv9-a+sme\");
39-
asm(\"smstart\");
40-
")
41-
4236
if(ANDROID)
4337
set(OS_NAME "Android")
4438
else()

compiler-rt/lib/builtins/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -551,8 +551,6 @@ set(aarch64_SOURCES
551551
${GENERIC_SOURCES}
552552
cpu_model.c
553553
aarch64/fp_mode.c
554-
aarch64/sme-abi.S
555-
aarch64/sme-abi-init.c
556554
)
557555

558556
# Generate outline atomics helpers from lse.S base
@@ -782,7 +780,6 @@ else ()
782780
endif()
783781

784782
append_list_if(COMPILER_RT_HAS_ASM_LSE HAS_ASM_LSE BUILTIN_DEFS)
785-
append_list_if(COMPILER_RT_HAS_ASM_SME HAS_ASM_SME BUILTIN_DEFS)
786783

787784
foreach (arch ${BUILTIN_SUPPORTED_ARCH})
788785
if (CAN_TARGET_${arch})

compiler-rt/lib/builtins/aarch64/sme-abi-init.c

Lines changed: 0 additions & 49 deletions
This file was deleted.

compiler-rt/lib/builtins/aarch64/sme-abi.S

Lines changed: 0 additions & 187 deletions
This file was deleted.

0 commit comments

Comments
 (0)