llvm-6502/lib/Target/XCore
Richard Osborne 9bd913c4c1 [XCore] Fix handling of functions where only the LR is spilled.
Previously we only checked if the LR required saving if the frame size was
non zero. However because the caller reserves 1 word for the callee to use
that doesn't count towards our frame size it is possible for the LR to need
saving and for the frame size to be 0.

We didn't hit when the LR needed saving because of a function calls because
the 1 word of stack we must allocate for our callee means the frame size
is always non zero in this case. However we can hit this case if the LR is
clobbered in inline asm.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181520 91177308-0d34-0410-b5e6-96231b3b80d8
2013-05-09 16:43:42 +00:00
..
Disassembler [XCore] Remove '-' from back branch asm syntax. 2013-05-05 13:20:22 +00:00
InstPrinter [XCore] Make use of the target independent global address offset folding. 2013-05-04 17:24:33 +00:00
MCTargetDesc [XCore] Use static relocation model by default. 2013-05-04 16:40:58 +00:00
TargetInfo
CMakeLists.txt [XCore] Move lowering of thread local storage to a separate pass. 2013-05-04 17:01:55 +00:00
LLVMBuild.txt
Makefile
README.txt
XCore.h [XCore] Move lowering of thread local storage to a separate pass. 2013-05-04 17:01:55 +00:00
XCore.td
XCoreAsmPrinter.cpp [XCore] Move lowering of thread local storage to a separate pass. 2013-05-04 17:01:55 +00:00
XCoreCallingConv.td
XCoreFrameLowering.cpp [XCore] Fix handling of functions where only the LR is spilled. 2013-05-09 16:43:42 +00:00
XCoreFrameLowering.h
XCoreInstrFormats.td
XCoreInstrInfo.cpp
XCoreInstrInfo.h
XCoreInstrInfo.td [XCore] Add LDAPB instructions. 2013-05-05 13:36:53 +00:00
XCoreISelDAGToDAG.cpp [XCore] Make use of the target independent global address offset folding. 2013-05-04 17:24:33 +00:00
XCoreISelLowering.cpp Fix buildbot failure on 64 bit linux due to std::max() having different 2013-05-04 17:41:01 +00:00
XCoreISelLowering.h [XCore] Make use of the target independent global address offset folding. 2013-05-04 17:24:33 +00:00
XCoreLowerThreadLocal.cpp [XCore] Move lowering of thread local storage to a separate pass. 2013-05-04 17:01:55 +00:00
XCoreMachineFunctionInfo.cpp
XCoreMachineFunctionInfo.h
XCoreMCInstLower.cpp
XCoreMCInstLower.h
XCoreRegisterInfo.cpp
XCoreRegisterInfo.h
XCoreRegisterInfo.td
XCoreSelectionDAGInfo.cpp
XCoreSelectionDAGInfo.h
XCoreSubtarget.cpp
XCoreSubtarget.h
XCoreTargetMachine.cpp [XCore] Move lowering of thread local storage to a separate pass. 2013-05-04 17:01:55 +00:00
XCoreTargetMachine.h
XCoreTargetObjectFile.cpp [XCore] Use static relocation model by default. 2013-05-04 16:40:58 +00:00
XCoreTargetObjectFile.h

To-do
-----

* Instruction encodings
* Tailcalls
* Investigate loop alignment
* Add builtins