[PATCH] D36160: Liveness issues in tail merging, and the ARM::LR saved-but-not-restored

Krzysztof Parzyszek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 3 07:37:47 PDT 2017


kparzysz added a comment.

I think the problem is that LR is not really a callee-saved register in the sense that it doesn't need to (and isn't) preserved across function calls.  It is still included in the save lists returned by `getCalleeSavedRegs`.  Would it make sense to change the ARM backend to remove it from these lists?


Repository:
  rL LLVM

https://reviews.llvm.org/D36160





More information about the llvm-commits mailing list