OSDN Git Service

[RISCV] Implement MC layer support for the tail pseudoinstruction
authorMandeep Singh Grang <mgrang@codeaurora.org>
Thu, 17 May 2018 17:31:27 +0000 (17:31 +0000)
committerMandeep Singh Grang <mgrang@codeaurora.org>
Thu, 17 May 2018 17:31:27 +0000 (17:31 +0000)
commit69b60eb28a3ff2dc2587c7ff06e00c87d54fb85e
tree28e95f3804c15dc32622bb4c8204bfc2a0f718c0
parent706668176ff9f831760992edc60fb209cbb808ce
[RISCV] Implement MC layer support for the tail pseudoinstruction

Summary:
This patch implements MC support for tail psuedo instruction.
A follow-up patch implements the codegen support as well as handling of the indirect tail pseudo instruction.

Reviewers: asb, apazos

Reviewed By: asb

Subscribers: rbar, johnrusso, simoncook, jordy.potman.lists, sabuasal, niosHD, kito-cheng, shiva0217, zzheng, edward-jones, llvm-commits

Differential Revision: https://reviews.llvm.org/D46221

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@332634 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
lib/Target/RISCV/RISCVInstrInfo.td
test/MC/RISCV/tail-call-invalid.s [new file with mode: 0644]
test/MC/RISCV/tail-call.s [new file with mode: 0644]