[PATCH] D45395: [RISCV] Implement tail call optimization

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 7 12:51:34 PDT 2018


mgrang added inline comments.


================
Comment at: lib/Target/RISCV/RISCVRegisterInfo.td:134
+def GPRTC : RegisterClass<"RISCV", [XLenVT], 32, (add
+    (sequence "X%u", 5, 7)
+  )> {
----------------
Can we also use x28-x31 (Caller temporaries) here?


Repository:
  rL LLVM

https://reviews.llvm.org/D45395





More information about the llvm-commits mailing list