[ARM] Use AEABI aligned function variants
authorJohn Brawn <john.brawn@arm.com>
Tue, 12 May 2015 13:13:38 +0000 (13:13 +0000)
committerJohn Brawn <john.brawn@arm.com>
Tue, 12 May 2015 13:13:38 +0000 (13:13 +0000)
commit70605f7d2230aebbccb9c0edc7504446f95f412f
tree8c3af64eff5bcd8ef2ae2254f104693d25edca98
parent87ef5eaf469a70e73febbaad517082896e0f08cf
[ARM] Use AEABI aligned function variants

AEABI defines aligned variants of memcpy etc. that can be faster than
the default version due to not having to do alignment checks. When
emitting target code for these functions make use of these aligned
variants if possible. Also convert memset to memclr if possible.

Differential Revision: http://reviews.llvm.org/D8060

llvm-svn: 237127
llvm/lib/Target/ARM/ARMSelectionDAGInfo.cpp
llvm/lib/Target/ARM/ARMSelectionDAGInfo.h
llvm/test/CodeGen/ARM/memfunc.ll