XCore target: Refactor LR handling
authorRobert Lytton <robert@xmos.com>
Mon, 6 Jan 2014 14:20:41 +0000 (14:20 +0000)
committerRobert Lytton <robert@xmos.com>
Mon, 6 Jan 2014 14:20:41 +0000 (14:20 +0000)
commit7d2dd96694fc1fd29120a01a7f180445c7aabede
treef87a54aeb665c9bb021ce2416a3498667610bd06
parente2d3dc8b817028c1724810c6e80a609cd4f888bf
XCore target: Refactor LR handling

We also narrow the liveness of FP & LR during the prologue to
reflect the actual usage of the registers.
I have been unable to construct a test to prove the previous live
range was too large.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198611 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/XCoreFrameLowering.cpp
lib/Target/XCore/XCoreMachineFunctionInfo.cpp
lib/Target/XCore/XCoreMachineFunctionInfo.h