]> granicus.if.org Git - llvm/commit
[RISCV] Lower calls through PLT
authorLewis Revill <lewis.revill@embecosm.com>
Tue, 18 Jun 2019 14:29:45 +0000 (14:29 +0000)
committerLewis Revill <lewis.revill@embecosm.com>
Tue, 18 Jun 2019 14:29:45 +0000 (14:29 +0000)
commitf528f0e60898197fde2faf503c36abad5e033dd8
treed749cd37a17e0b99edc3bc1790e5262589ae1cad
parent453ecb9e1b01e4fdb27380a3de1d6e406ad42b47
[RISCV] Lower calls through PLT

This patch adds support for generating calls through the procedure
linkage table where required for a given ExternalSymbol or GlobalAddress
callee.

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@363686 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/RISCV/RISCVISelLowering.cpp
lib/Target/RISCV/RISCVMCInstLower.cpp
lib/Target/RISCV/Utils/RISCVBaseInfo.h
test/CodeGen/RISCV/calls.ll