[PATCH] Add support for small-model PIC for PowerPC.

Justin Hibbits jrh29 at alumni.cwru.edu
Thu Sep 18 10:16:19 PDT 2014


Hi hfinkel, joerg,

Large-model was added first.  With the addition of support for multiple PIC
models in LLVM, now add small-model PIC for 32-bit PowerPC, SysV4 ABI.  This
generates more optimal code, for shared libraries with less than about 16380
data objects.

http://reviews.llvm.org/D5399

Files:
  include/llvm/MC/MCExpr.h
  include/llvm/Support/ELF.h
  lib/MC/MCExpr.cpp
  lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp
  lib/Target/PowerPC/PPCAsmPrinter.cpp
  lib/Target/PowerPC/PPCISelDAGToDAG.cpp
  lib/Target/PowerPC/PPCISelLowering.cpp
  lib/Target/PowerPC/PPCInstrInfo.td
  test/CodeGen/PowerPC/ppc32-pic.ll
  test/CodeGen/PowerPC/sections.ll
  test/CodeGen/PowerPC/tls-pic.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5399.13837.patch
Type: text/x-patch
Size: 20158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140918/c8f00390/attachment.bin>


More information about the llvm-commits mailing list