lowRISC / lowRISC/riscv-llvm

Resolve issues around identifying end/beginning of callee-save spill/restore

Open
#6 0 comments 0 reactions 1 assignee View on GitHub

@asb is already working on this.

Since Aug 20, 2017.

llvm upstreaming
Dominant language
Shell
Stars
277
Forks
55
PR merge metrics
No merged PRs in 30d

Description

A hacky patch in PrologEpilogInserter is currently used (see [here](https://github.com/lowRISC/riscv-llvm/blob/master/0020-Hack-Set-Frame-Setup-Destroy-in-PrologEpilogInserter.patch)). I posted an [RFC](http://lists.llvm.org/pipermail/llvm-dev/2017-February/110281.html) and [illustrative patch](https://reviews.llvm.org/D30115) for fixing this issue in a cleaner way. After further discussion, I [now believe](http://lists.llvm.org/pipermail/llvm-dev/2017-February/110351.html) that relying on debug info for determining the callee-save spill/restore end/beginning may not be the best approach.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.