[compiler-rt] 57903cf - [compiler-rt][RISCV] Use muldi3 builtin assembly implementation
Luís Marques via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 05:06:58 PDT 2020
Author: Luís Marques
Date: 2020-08-21T13:06:35+01:00
New Revision: 57903cf09335cd687e9fcfad4af7a9ef4bc84a95
URL: https://github.com/llvm/llvm-project/commit/57903cf09335cd687e9fcfad4af7a9ef4bc84a95
DIFF: https://github.com/llvm/llvm-project/commit/57903cf09335cd687e9fcfad4af7a9ef4bc84a95.diff
LOG: [compiler-rt][RISCV] Use muldi3 builtin assembly implementation
D80465 added an assembly implementation of muldi3 for RISC-V but it didn't
add it to the cmake `*_SOURCES` list, so the C implementation was being used
instead. This patch fixes that.
Differential Revision: https://reviews.llvm.org/D86036
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 99aed905d759..9c272afdc0c7 100644
--- a/compiler-rt/lib/builtins/CMakeLists.txt
+++ b/compiler-rt/lib/builtins/CMakeLists.txt
@@ -574,7 +574,10 @@ set(riscv32_SOURCES
riscv/mulsi3.S
${riscv_SOURCES}
)
-set(riscv64_SOURCES ${riscv_SOURCES})
+set(riscv64_SOURCES
+ riscv/muldi3.S
+ ${riscv_SOURCES}
+)
set(sparc_SOURCES ${GENERIC_SOURCES} ${GENERIC_TF_SOURCES})
set(sparcv9_SOURCES ${GENERIC_SOURCES} ${GENERIC_TF_SOURCES})
More information about the llvm-commits
mailing list