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

Quentin Colombet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 1 12:30:29 PDT 2017


qcolombet added a comment.

> Long-term, it might be more straightforward to add implicit uses to return instructions, similar to the way we add implicit defs to calls, so we don't have to make return blocks a special case in LivePhysRegs. Not sure how hard that would be.

Like Eli said if we could model LR properly that would be the best. That being said, I don't know what it will take to do that.

My guts say we should make the frame lowering logic more complex than it is already.


Repository:
  rL LLVM

https://reviews.llvm.org/D36160





More information about the llvm-commits mailing list