[PATCH] [mips] Add the following MIPS options that control gp-relative addressing of small data items: -mgpopt, -mlocal-sdata, -mextern-sdata.

Sasa Stankovic Sasa.Stankovic at imgtec.com
Thu Aug 14 04:28:28 PDT 2014


Hi dsanders, mseaborn,

[mips] Add the following MIPS options that control gp-relative addressing of small data items: -mgpopt, -mlocal-sdata, -mextern-sdata. Implement gp-relative addressing for constants.

http://reviews.llvm.org/D4903

Files:
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  lib/Target/Mips/MipsSubtarget.cpp
  lib/Target/Mips/MipsTargetObjectFile.cpp
  lib/Target/Mips/MipsTargetObjectFile.h
  test/CodeGen/Mips/2008-07-22-Cstpool.ll
  test/CodeGen/Mips/2008-08-07-CC.ll
  test/CodeGen/Mips/gprel.ll
  test/CodeGen/Mips/mips64-f128.ll
  test/CodeGen/Mips/optimize-pic-o0.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4903.12496.patch
Type: text/x-patch
Size: 22489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140814/e4793f95/attachment.bin>


More information about the llvm-commits mailing list