[RISCV] Implement jump pseudo-instruction
authorLuís Marques <luismarques@lowrisc.org>
Fri, 31 Jan 2020 18:52:37 +0000 (18:52 +0000)
committerLuís Marques <luismarques@lowrisc.org>
Fri, 31 Jan 2020 22:28:26 +0000 (22:28 +0000)
commit24cba3312f6ce358a299225d548ea22cf371b234
tree6bafbb1f3c73ebaf25bc72adebb256a24191d2d0
parentdeae8ee6916711b9b20f73fc1a350c3a034d5b34
[RISCV] Implement jump pseudo-instruction

Summary:
Implements the jump pseudo-instruction, which is used in e.g. the Linux kernel.

Reviewers: asb, lenary
Reviewed By: lenary
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D73178
llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMCCodeEmitter.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/test/MC/RISCV/pseudo-jump-invalid.s [new file with mode: 0644]
llvm/test/MC/RISCV/pseudo-jump.s [new file with mode: 0644]