HomePhabricator

[Mips] Always save RA when disabling frame pointer elimination

Authored by atanasyan on Oct 7 2019, 7:01 AM.

Description

[Mips] Always save RA when disabling frame pointer elimination

This ensures that frame-based unwinding will continue to work when
calling a noreturn function; there is not much use having the caller's
frame pointer saved if you don't also have the caller's program counter.

Patch by James Clarke.

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

llvm-svn: 373907

Details