OSDN Git Service

ARM: tweak WoA frame lowering
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 9 Oct 2015 03:19:03 +0000 (03:19 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 9 Oct 2015 03:19:03 +0000 (03:19 +0000)
commit634b8b0117493f4dbd45d6e87f407f8373e20642
treed8bc6ad165e53475ece5e37848813a7b2dfe10e8
parent7875288f55475c11f14ac962cbf20033f0700a53
ARM: tweak WoA frame lowering

Accept r11 when targeting Windows on ARM rather than just low registers.
Because we are in a thumb-2 only mode, this may be slightly more expensive in
code size, but results in better code for the environment since it spills the
frame register, which is generally desired for fast stack walking as per the
ABI.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@249804 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMFrameLowering.cpp
test/CodeGen/ARM/Windows/no-frame-register.ll [new file with mode: 0644]