HomePhabricator

Add saving and restoring of r30 to the prologue and epilogue, respectively

Authored by jhibbits on Jan 8 2015, 7:47 AM.

Description

Add saving and restoring of r30 to the prologue and epilogue, respectively

Summary: The PIC additions didn't update the prologue and epilogue code to save and restore r30 (PIC base register). This does that.

Test Plan: Tests updated.

Reviewers: hfinkel

Reviewed By: hfinkel

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D6876

llvm-svn: 225450