HomePhabricator

[RISCV] Allow shrink wrapping for RISC-V

Authored by lewis-revill on Jan 14 2020, 10:59 AM.

Description

[RISCV] Allow shrink wrapping for RISC-V

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.

Differential Revision: https://reviews.llvm.org/D62190

Details

Committed
lewis-revillJan 14 2020, 10:59 AM
Differential Revision
D62190: [RISCV] Allow shrink wrapping for RISC-V
Parents
rG2cefb93951cc: [ThinLTO/WPD] Remove an overly-aggressive assert
Branches
Unknown
Tags
Unknown