[compiler-rt] [compiler-rt][AArch64] Readd SME ABI routines files to the build (PR #142953)
Victor Campos via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 5 05:10:13 PDT 2025
https://github.com/vhscampos created https://github.com/llvm/llvm-project/pull/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.
>From 39943c33ff787f4178f1665f3f4804f6221437b1 Mon Sep 17 00:00:00 2001
From: Victor Campos <victor.campos at arm.com>
Date: Thu, 5 Jun 2025 13:04:40 +0100
Subject: [PATCH] [compiler-rt][AArch64] Readd SME ABI routines files to the
build
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.
---
compiler-rt/lib/builtins/CMakeLists.txt | 1 +
1 file changed, 1 insertion(+)
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