This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Clean up callee-save CFI emission. NFC.
ClosedPublic

Authored by gberry on Feb 8 2016, 3:00 PM.

Details

Summary

Avoid special case for FP, LR CFI emission and just allow general
AArch64FrameLowering::emitCalleeSavedFrameMoves() to handle them. Also,
stop recalculating the stack offsets in emitCalleeSavedFrameMoves()
since we can just reuse the previously calculated offset stored in the
MachineFrameInfo.

Depends on D17000

Diff Detail

Repository
rL LLVM

Event Timeline

gberry updated this revision to Diff 47260.Feb 8 2016, 3:00 PM
gberry retitled this revision from to [AArch64] Clean up callee-save CFI emission. NFC..
gberry updated this object.
gberry added a subscriber: llvm-commits.
t.p.northover accepted this revision.Feb 24 2016, 3:16 PM
t.p.northover edited edge metadata.

Nice cleanup! Looks good to me.

Tim.

This revision is now accepted and ready to land.Feb 24 2016, 3:16 PM
This revision was automatically updated to reflect the committed changes.