Do not use $gp as a dedicated global register if the target ABI is not O32.
authorAkira Hatanaka <ahatanaka@mips.com>
Wed, 25 Apr 2012 01:24:52 +0000 (01:24 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Wed, 25 Apr 2012 01:24:52 +0000 (01:24 +0000)
commit25052f4077503d030e65a025b348c5f1e9ffb616
treee3c589ecf156859112727f861c48e5d01275623d
parent23d59c2fb847f1869b72bcbda67052ac6b2aaee9
Do not use $gp as a dedicated global register if the target ABI is not O32.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155522 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/MipsMachineFunction.cpp
test/CodeGen/Mips/2010-07-20-Switch.ll
test/CodeGen/Mips/cmov.ll