diff options
author | Simon Cook <simon.cook@embecosm.com> | 2019-10-22 21:25:01 +0100 |
---|---|---|
committer | Simon Cook <simon.cook@embecosm.com> | 2019-10-22 21:25:01 +0100 |
commit | aed9d6d64a38d155cd09232da5640b5ade069bd9 (patch) | |
tree | 039d8d57a1065a034a383b13a5448fa7c993704a /lldb/packages/Python/lldbsuite/test/commands/command/script | |
parent | 68f5ca4e19c16f12895a6f0b9fbabc1d86c4b6b0 (diff) | |
download | bcm5719-llvm-aed9d6d64a38d155cd09232da5640b5ade069bd9.tar.gz bcm5719-llvm-aed9d6d64a38d155cd09232da5640b5ade069bd9.zip |
[RISCV] Add support for -ffixed-xX flags
This adds support for reserving GPRs such that the compiler will not
choose a register for register allocation. The implementation follows
the same design as for AArch64; each reserved register becomes a target
feature and used for getting the reserved registers for a given
MachineFunction. The backend checks that it does not need to write to
any reserved register; if it does a relevant error is generated.
Differential Revision: https://reviews.llvm.org/D67185
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/commands/command/script')
0 files changed, 0 insertions, 0 deletions