[PATCH] Add tail call optimization for thumb1-only targets rev. 3

Bjoern Haase bjoern.m.haase at web.de
Sat Jan 17 04:55:45 PST 2015


Added check for use of R12 in register scavenging. Try to fall-back to LR in case that R12 is used in the basic block where the emergency condition occurs.


http://reviews.llvm.org/D7005

Files:
  lib/Target/ARM/ARMISelLowering.cpp
  lib/Target/ARM/ARMSubtarget.cpp
  lib/Target/ARM/Thumb1FrameLowering.cpp
  lib/Target/ARM/Thumb1RegisterInfo.cpp
  test/CodeGen/ARM/fourParametersTailCall_v6m.ll
  test/CodeGen/ARM/threeParametersTailCall_v6m.ll
  test/CodeGen/ARM/twoParametersTailCall_v6m.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7005.18345.patch
Type: text/x-patch
Size: 17714 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150117/94f2d9cc/attachment.bin>


More information about the llvm-commits mailing list