[compiler-rt] a6532bd - [compiler-rt][AArch64] Readd SME ABI routines files to the build (#142953)

via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 5 06:27:46 PDT 2025


Author: Victor Campos
Date: 2025-06-05T14:27:42+01:00
New Revision: a6532bd154cb6761e1e286b2b0cc878b2a6d164b

URL: https://github.com/llvm/llvm-project/commit/a6532bd154cb6761e1e286b2b0cc878b2a6d164b
DIFF: https://github.com/llvm/llvm-project/commit/a6532bd154cb6761e1e286b2b0cc878b2a6d164b.diff

LOG: [compiler-rt][AArch64] Readd SME ABI routines files to the build (#142953)

Commit 75c3ff8c0b29f374d31ba99e51852f7f6851a6c8 inadvertently removed
some files from the build related to the SME ABI routines.

This patch fixes the issue by reintroducing the files to the build in
CMake.

Added: 
    

Modified: 
    compiler-rt/lib/builtins/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/builtins/CMakeLists.txt b/compiler-rt/lib/builtins/CMakeLists.txt
index e6a5e2e94a2ba..075c4647abf69 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -600,6 +600,7 @@ if (COMPILER_RT_HAS_AARCH64_SME)
     set_source_files_properties(aarch64/arm_apple_sme_abi.s PROPERTIES COMPILE_FLAGS -march=armv8a+sme)
     message(STATUS "AArch64 Apple SME ABI routines enabled")
   elseif (NOT COMPILER_RT_DISABLE_AARCH64_FMV AND COMPILER_RT_HAS_FNO_BUILTIN_FLAG AND COMPILER_RT_AARCH64_FMV_USES_GLOBAL_CONSTRUCTOR)
+    list(APPEND aarch64_SOURCES aarch64/sme-abi.S aarch64/sme-abi-assert.c)
     if(COMPILER_RT_HAS_ARM_UNALIGNED AND COMPILER_RT_HAS_ARM_FP)
       list(APPEND aarch64_SOURCES aarch64/sme-libc-opt-memset-memchr.S aarch64/sme-libc-opt-memcpy-memmove.S)
     elseif(COMPILER_RT_HAS_ARM_UNALIGNED)


        


More information about the llvm-commits mailing list