[PATCH] D18034: [Power PC] fix register alignment for long double type (soft float)

Strahinja Petrovic via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 10 03:27:19 PST 2016


spetrovic created this revision.
spetrovic added reviewers: hfinkel, petarj.
spetrovic added subscribers: llvm-commits, rankov, ivanbaev.
spetrovic set the repository for this revision to rL LLVM.
Herald added a subscriber: MatzeB.

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.

Repository:
  rL LLVM

http://reviews.llvm.org/D18034

Files:
  lib/Target/PowerPC/CMakeLists.txt
  lib/Target/PowerPC/PPCCCState.cpp
  lib/Target/PowerPC/PPCCCState.h
  lib/Target/PowerPC/PPCCallingConv.td
  lib/Target/PowerPC/PPCFastISel.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  test/CodeGen/PowerPC/ppc32-align-long-double-sf.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18034.50248.patch
Type: text/x-patch
Size: 8037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160310/06b9ffc8/attachment.bin>


More information about the llvm-commits mailing list