[PATCH] D69130: [RISCV] Implement the TargetLowering::getRegisterByName hook

Luís Marques via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 18 07:14:01 PDT 2019


luismarques updated this revision to Diff 225614.
luismarques edited the summary of this revision.
luismarques added a comment.

- Use `getReservedRegs` instead of hardcoding the reserved registers.
- Update summary.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69130/new/

https://reviews.llvm.org/D69130

Files:
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/test/CodeGen/RISCV/get-register-invalid.ll
  llvm/test/CodeGen/RISCV/get-register-noreserve.ll
  llvm/test/CodeGen/RISCV/get-register-reserve.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69130.225614.patch
Type: text/x-patch
Size: 4461 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191018/04c20959/attachment.bin>


More information about the llvm-commits mailing list