XCore target: Fix eliminateFrameIndex() to handle large frames

Robert Lytton robert at xmos.com
Thu Nov 7 13:27:07 PST 2013


Hi,

Here is a patch that allows the XCore target to handle large frames.

    Large frame offsets are loaded from the ConstantPool.
    Where possible, offsets are encoded using the smaller MKMSK instruction.
    Large frame offsets can only be used when there is a frame-pointer.

At present, functions must be compiled using '-fno-omit-frame-pointer'.
A follow up patch will add heuristics to automatically -disable-fp-elim as necessary.

Robert

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131107/85211700/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PatchFrameIndex
Type: application/octet-stream
Size: 3471 bytes
Desc: PatchFrameIndex
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131107/85211700/attachment.obj>


More information about the llvm-commits mailing list