[mips] Initial implementation of -mabicalls/-mno-abicalls.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 8 Aug 2014 10:01:29 +0000 (10:01 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Fri, 8 Aug 2014 10:01:29 +0000 (10:01 +0000)
commitda52aa04d9f9685408829a95d5e30e8d3237d0ff
tree001a67d5400ca1c101e61d87cf5dcf5166b49ec8
parentbbdf1e0432cf2173e1080d9fe2be5e30c9cd212a
[mips] Initial implementation of -mabicalls/-mno-abicalls.

This patch implements the main rules for -mno-abicalls such as reserving $gp,
and emitting the correct .option directive.

Patch by Matheus Almeida and Toma Tabacu

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215194 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips.td
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsRegisterInfo.cpp
lib/Target/Mips/MipsSubtarget.cpp
lib/Target/Mips/MipsSubtarget.h