[PATCH] ARM: When spilling extra registers for alignment, prefer low registers on all Thumb targets.

Peter Collingbourne peter at pcc.me.uk
Tue Apr 21 12:20:20 PDT 2015


Hi t.p.northover,

This makes it more likely that we can use the 16-bit push and pop instructions
on Thumb-2, saving around 4 bytes per function.

http://reviews.llvm.org/D9165

Files:
  lib/Target/ARM/ARMFrameLowering.cpp
  test/CodeGen/ARM/2013-04-16-AAPCS-C5-vs-VFP.ll
  test/CodeGen/ARM/2013-05-02-AAPCS-ByVal-Structs-C4-C5-VFP.ll
  test/CodeGen/ARM/2013-05-02-AAPCS-ByVal-Structs-C4-C5-VFP2.ll
  test/CodeGen/ARM/debug-frame.ll
  test/CodeGen/ARM/fold-stack-adjust.ll
  test/CodeGen/ARM/interrupt-attr.ll
  test/CodeGen/Thumb2/2009-08-06-SpDecBug.ll
  test/CodeGen/Thumb2/large-stack.ll
  test/CodeGen/Thumb2/tpsoft.ll
  test/MC/ARM/elf-thumbfunc-reloc.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9165.24154.patch
Type: text/x-patch
Size: 10451 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/e1bcc312/attachment.bin>


More information about the llvm-commits mailing list