Make the following changes in MipsAsmPrinter.cpp:
authorAkira Hatanaka <ahatanaka@mips.com>
Sat, 12 May 2012 00:48:43 +0000 (00:48 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Sat, 12 May 2012 00:48:43 +0000 (00:48 +0000)
commit4147e4d054b62eb2ea8259db0385791ec23c460b
tree3eeb3aec4ec14367dee4cc26699a21243ced6e7f
parent774394c68abc88a0d49f207abc1d4da9bd0675b8
Make the following changes in MipsAsmPrinter.cpp:

- Remove code which lowers pseudo SETGP01.
- Fix LowerSETGP01. The first two of the three instructions that are emitted to
  initialize the global pointer register now use register $2.
- Stop emitting .cpload directive.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156689 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsAsmPrinter.cpp
lib/Target/Mips/MipsMCInstLower.cpp
lib/Target/Mips/MipsMCInstLower.h
test/CodeGen/Mips/global-pointer-reg.ll
test/CodeGen/Mips/zeroreg.ll
test/MC/Mips/elf-bigendian.ll