SuccessChanges

Summary

  1. [RISCV] Implement the TargetLowering::getRegisterByName hook (details)
Commit 51b4b17eb7e6ee2312e3230c7e097df501006360 by luismarques
[RISCV] Implement the TargetLowering::getRegisterByName hook
Summary: The hook should work for any RISC-V register. Non-allocatable
registers do not need to be reserved, for the remaining the hook will
only succeed if you pass clang the -ffixed-xX flag. This builds upon
D67185, which currently only allows reserving GPRs.
Reviewers: asb, lenary
Reviewed By: lenary
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69130
The file was addedllvm/test/CodeGen/RISCV/get-register-noreserve.ll
The file was addedllvm/test/CodeGen/RISCV/get-register-reserve.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.h
The file was addedllvm/test/CodeGen/RISCV/get-register-invalid.ll
The file was modifiedllvm/lib/Target/RISCV/RISCVISelLowering.cpp