commit | ed761d68673372e6405a73e08e375ac0219fad82 | [log] [tgz] |
---|---|---|
author | Alex Bradbury <asb@lowrisc.org> | Wed Mar 13 16:33:45 2019 +0000 |
committer | Alex Bradbury <asb@lowrisc.org> | Wed Mar 13 16:33:45 2019 +0000 |
tree | e6a521a1acb943079126f1b4c5bc5e68d7eb0018 | |
parent | 752b9de47d1eacab1c208cfddd3fa7631ec66845 [diff] |
[RISCV] Only mark fp as reserved if the function has a dedicated frame pointer This follows similar logic in the ARM and Mips backends, and allows the free use of s0 in functions without a dedicated frame pointer. The changes in callee-saved-gprs.ll most clearly show the effect of this patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@356063 91177308-0d34-0410-b5e6-96231b3b80d8