[PATCH] D62190: [WIP][RISCV] Allow shrink wrapping for RISC-V
Lewis Revill via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 21 05:40:14 PDT 2019
lewis-revill created this revision.
lewis-revill added a reviewer: asb.
Herald added subscribers: llvm-commits, benna, psnobl, jocewei, PkmX, rkruppe, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, apazos, simoncook, johnrusso, rbar.
Herald added a project: LLVM.
Enabling shrink wrapping requires ensuring the insertion point of the epilogue is correct for MBBs without a terminator, in which case the instruction to adjust the stack pointer is the last instruction in the block.
This is a minimal work in progress patch, there are likely cases not covered by this.
Repository:
rL LLVM
https://reviews.llvm.org/D62190
Files:
lib/Target/RISCV/RISCVFrameLowering.cpp
test/CodeGen/RISCV/shrinkwrap.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62190.200467.patch
Type: text/x-patch
Size: 4090 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190521/4d4f6feb/attachment.bin>
More information about the llvm-commits
mailing list