HomePhabricator

[AArch64] Allow pairing lr with other GPRs for WinCFI

Authored by mstorsjo on Sep 23 2020, 4:26 AM.

Description

[AArch64] Allow pairing lr with other GPRs for WinCFI

This saves one instruction per prologue/epilogue for any function with
an odd number of callee-saved GPRs, but more importantly, allows such
functions to match the packed unwind format.

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

Details