[mips] Do not copy GOT address to register $gp if the function being called has
authorAkira Hatanaka <ahatanaka@mips.com>
Thu, 13 Dec 2012 03:17:29 +0000 (03:17 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Thu, 13 Dec 2012 03:17:29 +0000 (03:17 +0000)
commitcf9a61b6eeb12d647b484cbc6eb09d4ca1ca8bb0
tree98974db7953a572f333107add4d211cde7a890fe
parent536cc32ba051fbadeb0f6929b0270427330e4152
[mips] Do not copy GOT address to register $gp if the function being called has
internal linkage.

llvm-svn: 170092
llvm/lib/Target/Mips/MipsISelLowering.cpp
llvm/test/CodeGen/Mips/gpreg-lazy-binding.ll [new file with mode: 0644]