ARM: properly handle alignment for struct byval.
authorManman Ren <mren@apple.com>
Fri, 1 Jun 2012 19:33:18 +0000 (19:33 +0000)
committerManman Ren <mren@apple.com>
Fri, 1 Jun 2012 19:33:18 +0000 (19:33 +0000)
commit68f25571e759c1fcf2da206109647259f49f7416
tree861c26c6230399c7a15e25af8e868f16aafb9ad2
parenta0c5e6ceb53c0f77906d813a354b19e72d26950c
ARM: properly handle alignment for struct byval.

Factor out the expansion code into a function.
This change is to be enabled in clang.

rdar://9877866

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157830 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/FastISel.h
lib/CodeGen/SelectionDAG/FastISel.cpp
lib/Target/ARM/ARMISelLowering.cpp
lib/Target/ARM/ARMISelLowering.h
lib/Target/ARM/ARMInstrInfo.td