[ARM] Align global variables passed to memory intrinsics
authorJohn Brawn <john.brawn@arm.com>
Mon, 13 Apr 2015 10:47:39 +0000 (10:47 +0000)
committerJohn Brawn <john.brawn@arm.com>
Mon, 13 Apr 2015 10:47:39 +0000 (10:47 +0000)
commitafa4193fc87cdca9b5db4e715bd141a2f5d450c1
tree510cd210bfb755580f5f747446796c7296fd1e6f
parent2b6ba77325c554bb397e04cf0129ac17bef2b01b
[ARM] Align global variables passed to memory intrinsics

Fill in the TODO in CodeGenPrepare::OptimizeCallInst so that global
variables that are passed to memory intrinsics are aligned in the same
way that allocas are.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234735 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CodeGenPrepare.cpp
test/CodeGen/ARM/memcpy-inline.ll
test/CodeGen/ARM/memfunc.ll