HomePhabricator

[mips] Add the following MIPS options that control gp-relative addressing of…

Authored by sstankovic on Nov 6 2014, 5:20 AM.

Description

[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.

Differential Revision: http://reviews.llvm.org/D4903

llvm-svn: 221450