[VE] Support for PIC (global data and calls)
authorKazushi (Jam) Marukawa <marukawa@nec.com>
Fri, 14 Feb 2020 08:31:06 +0000 (09:31 +0100)
committerSimon Moll <simon.moll@emea.nec.com>
Fri, 14 Feb 2020 08:50:02 +0000 (09:50 +0100)
commit60431bd728f73544a8c3507a9461ec13b53ced74
tree6de843e80de4495b45b43b4b82cbc3407ea96359
parent1674f772b4ea67f62cb93536143107ef2bd25b7f
[VE] Support for PIC (global data and calls)

Summary: Support for PIC with tests for global variables and function calls.

Reviewed By: arsenm

Differential Revision: https://reviews.llvm.org/D74536
15 files changed:
llvm/lib/Target/VE/MCTargetDesc/VEFixupKinds.h
llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.cpp
llvm/lib/Target/VE/MCTargetDesc/VEMCExpr.h
llvm/lib/Target/VE/VEAsmPrinter.cpp
llvm/lib/Target/VE/VEISelDAGToDAG.cpp
llvm/lib/Target/VE/VEISelLowering.cpp
llvm/lib/Target/VE/VEISelLowering.h
llvm/lib/Target/VE/VEInstrInfo.cpp
llvm/lib/Target/VE/VEInstrInfo.h
llvm/lib/Target/VE/VEInstrInfo.td
llvm/lib/Target/VE/VEMachineFunctionInfo.h
llvm/test/CodeGen/VE/pic_access_data.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/pic_access_static_data.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/pic_func_call.ll [new file with mode: 0644]
llvm/test/CodeGen/VE/pic_indirect_func_call.ll [new file with mode: 0644]