[all-commits] [llvm/llvm-project] b771c4: [PowerPC][Future] More support for PCRel addressin...

Kamau Bridgeman via All-commits all-commits at lists.llvm.org
Fri Apr 17 09:06:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b771c4a842d65123ffcda2534540ee9dbd2ad3ce
      https://github.com/llvm/llvm-project/commit/b771c4a842d65123ffcda2534540ee9dbd2ad3ce
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M llvm/include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/lib/MC/MCExpr.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
    M llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp
    M llvm/lib/Target/PowerPC/PPC.h
    M llvm/lib/Target/PowerPC/PPCISelLowering.cpp
    M llvm/lib/Target/PowerPC/PPCInstrInfo.cpp
    M llvm/lib/Target/PowerPC/PPCMCInstLower.cpp
    M llvm/test/CodeGen/PowerPC/pcrel-call-linkage-with-calls.ll
    A llvm/test/CodeGen/PowerPC/pcrel-got-indirect.ll

  Log Message:
  -----------
  [PowerPC][Future] More support for PCRel addressing for global values

Add initial support for PC Relative addressing for global values that
require GOT indirect addressing. This patch adds PCRelative support for
global addresses that may not be known at link time and may require
access through the GOT.

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




More information about the All-commits mailing list