OSDN Git Service

[PowerPC] fix register alignment for long double type
authorStrahinja Petrovic <strahinja.petrovic@rt-rk.com>
Mon, 9 May 2016 12:27:39 +0000 (12:27 +0000)
committerStrahinja Petrovic <strahinja.petrovic@rt-rk.com>
Mon, 9 May 2016 12:27:39 +0000 (12:27 +0000)
commita16fdea51a814bbd1942a3902db76063f5fe094a
treef0c09fbf3634ec7ff3dac888276dbe9f0ee221d0
parente06fb6bce7b48b0ee218499f2f15d62cdc75e8bb
[PowerPC] fix register alignment for long double type

This patch fixes register alignment for long double type in
soft float mode. Before this patch alignment was 8 and this
patch changes it to 4.
Differential Revision: http://reviews.llvm.org/D18034

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268909 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/CMakeLists.txt
lib/Target/PowerPC/PPCCCState.cpp [new file with mode: 0644]
lib/Target/PowerPC/PPCCCState.h [new file with mode: 0644]
lib/Target/PowerPC/PPCCallingConv.td
lib/Target/PowerPC/PPCFastISel.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll [new file with mode: 0644]