diff options
author | Derek Schuff <dschuff@google.com> | 2016-03-17 17:00:29 +0000 |
---|---|---|
committer | Derek Schuff <dschuff@google.com> | 2016-03-17 17:00:29 +0000 |
commit | 3d1521202923f5fa33c14b3d858061d08a1dd283 (patch) | |
tree | 1e87ceddf9093e6b84bacd8a2a9d6b46ac923c6f /test/CodeGen/PowerPC/ctrloops-softfloat.ll | |
parent | 30abf16d676d1b84b2d586cb77932b5dde32f333 (diff) |
[WebAssembly] Stackify code emitted by eliminateFrameIndex and SP writeback
Summary:
MRI::eliminateFrameIndex can emit several instructions to do address
calculations; these can usually be stackified. Because instructions with
FI operands can have subsequent operands which may be expression trees,
find the top of the leftmost tree and insert the code before it, to keep
the LIFO property.
Also use stackified registers when writing back the SP value to memory
in the epilog; it's unnecessary because SP will not be used after the
epilog, and it results in better code.
Differential Revision: http://reviews.llvm.org/D18234
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263725 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/PowerPC/ctrloops-softfloat.ll')
0 files changed, 0 insertions, 0 deletions