OSDN Git Service

[RISCV] Lower the tail pseudoinstruction
authorMandeep Singh Grang <mgrang@codeaurora.org>
Wed, 23 May 2018 22:44:08 +0000 (22:44 +0000)
committerMandeep Singh Grang <mgrang@codeaurora.org>
Wed, 23 May 2018 22:44:08 +0000 (22:44 +0000)
commit618f11e436bf27286ed1f6f075979d330bb90133
tree550aeaa389d9cb6d54de6cb82fad2aff0771ecc2
parent673840e6846c8ea2320882f74ea3a09bcaa5acad
[RISCV] Lower the tail pseudoinstruction

This patch lowers the tail pseudoinstruction. This has been modeled after ARM's
tail call opt.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@333137 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.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 [new file with mode: 0644]
test/CodeGen/RISCV/musttail-call.ll [new file with mode: 0644]
test/CodeGen/RISCV/tail-calls.ll [new file with mode: 0644]