[PATCH] D45395: [RISCV] Lower the tail pseudoinstruction

Mandeep Singh Grang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 22 13:38:09 PDT 2018


mgrang updated this revision to Diff 148092.
mgrang added a comment.

1. Lowered PseudoTAILIndirect in AsmPrinter (similar to AArch64 TCRETURNri pseudo).
2. Added test cases for tail call on external symbols and indirect tail call.
3. Addressed other comments.


https://reviews.llvm.org/D45395

Files:
  lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
  lib/Target/RISCV/RISCVAsmPrinter.cpp
  lib/Target/RISCV/RISCVISelLowering.cpp
  lib/Target/RISCV/RISCVISelLowering.h
  lib/Target/RISCV/RISCVInstrInfo.cpp
  lib/Target/RISCV/RISCVInstrInfo.td
  lib/Target/RISCV/RISCVRegisterInfo.td
  test/CodeGen/RISCV/disable-tail-calls.ll
  test/CodeGen/RISCV/musttail-call.ll
  test/CodeGen/RISCV/tail-calls.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45395.148092.patch
Type: text/x-patch
Size: 22766 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180522/d4b901c2/attachment.bin>


More information about the llvm-commits mailing list