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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp | ||
---|---|---|
1318 | Looking at the reference, the first number should be an odd number between 19 and 27. | |
llvm/test/CodeGen/AArch64/wineh-save-lrpair2.mir | ||
6 | It would probably be slightly more efficient to express this as alloc_s followed by save_lrpair, but I guess we can look into that as a followup. |
Looking at the reference, the first number should be an odd number between 19 and 27.