[PATCH] D45395: [RISCV] Implement tail call optimization
Mandeep Singh Grang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 6 16:09:46 PDT 2018
mgrang created this revision.
mgrang added reviewers: asb, apazos.
Herald added subscribers: zzheng, shiva0217, kito-cheng, niosHD, sabuasal, jordy.potman.lists, simoncook, johnrusso, rbar, kristof.beyls.
This patch implements tail call optimization. This has been modeled after ARM's tail call opt.
Repository:
rL LLVM
https://reviews.llvm.org/D45395
Files:
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/tail-calls.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45395.141449.patch
Type: text/x-patch
Size: 22548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180406/d0488569/attachment.bin>
More information about the llvm-commits
mailing list