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)
commit5da175214bffc33e394bf7531a8de49a2649b58c
tree986a373871e464bff4a316dbe475a7e338aeb088
parentdec798751a0a7dc36b559fae920ab916bbe10137
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.

llvm-svn: 198614
llvm/lib/Target/XCore/CMakeLists.txt
llvm/lib/Target/XCore/XCore.h
llvm/lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp [new file with mode: 0644]
llvm/lib/Target/XCore/XCoreISelLowering.cpp
llvm/lib/Target/XCore/XCoreISelLowering.h
llvm/lib/Target/XCore/XCoreInstrInfo.td
llvm/lib/Target/XCore/XCoreTargetMachine.cpp
llvm/test/CodeGen/XCore/llvm-intrinsics.ll