XCore target: Lower FRAME_TO_ARGS_OFFSET
authorRobert Lytton <robert@xmos.com>
Mon, 6 Jan 2014 14:21:00 +0000 (14:21 +0000)
committerRobert Lytton <robert@xmos.com>
Mon, 6 Jan 2014 14:21:00 +0000 (14:21 +0000)
commitaf74cbf553073b701fc570c7ef9b1446111ac9b6
tree80c553a5b9d705896aad7a5d32133cc14eafd16f
parent12ad7cd730cb0575a6d03cccd6073af8e9486f3f
XCore target: Lower FRAME_TO_ARGS_OFFSET

This requires a knowledge of the stack size which is not known until
the frame is complete, hence the need for the XCoreFTAOElim pass
which lowers the XCoreISD::FRAME_TO_ARGS_OFFSET instrution into its
final form.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198614 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/XCore/CMakeLists.txt
lib/Target/XCore/XCore.h
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp [new file with mode: 0644]
lib/Target/XCore/XCoreISelLowering.cpp
lib/Target/XCore/XCoreISelLowering.h
lib/Target/XCore/XCoreInstrInfo.td
lib/Target/XCore/XCoreTargetMachine.cpp
test/CodeGen/XCore/llvm-intrinsics.ll