[compiler-rt] r314255 - [Builtins] Use 4 byte alignment for __aeabi_memclr.
Manoj Gupta via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 26 15:37:08 PDT 2017
Author: manojgupta
Date: Tue Sep 26 15:37:08 2017
New Revision: 314255
URL: http://llvm.org/viewvc/llvm-project?rev=314255&view=rev
Log:
[Builtins] Use 4 byte alignment for __aeabi_memclr.
Summary:
Align __aeabi_memclr to 4 bytes. All other ARM functions are already aligned to
4-bytes in compiler-rt.
(Split off from review D38227)
Reviewers: compnerd, peter.smith, srhines, weimingz, rengolin, kristof.beyls
Reviewed By: compnerd
Subscribers: aemerson, javed.absar, llvm-commits
Differential Revision: https://reviews.llvm.org/D38271
Modified:
compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S
Modified: compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S?rev=314255&r1=314254&r2=314255&view=diff
==============================================================================
--- compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S (original)
+++ compiler-rt/trunk/lib/builtins/arm/aeabi_memset.S Tue Sep 26 15:37:08 2017
@@ -24,6 +24,7 @@ END_COMPILERRT_FUNCTION(__aeabi_memset)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memset4, __aeabi_memset)
DEFINE_AEABI_FUNCTION_ALIAS(__aeabi_memset8, __aeabi_memset)
+ .p2align 2
DEFINE_COMPILERRT_FUNCTION(__aeabi_memclr)
mov r2, r1
movs r1, #0
More information about the llvm-commits
mailing list