Prevent instructions using $gp from being placed between a jalr and the instruction...
authorAkira Hatanaka <ahatanak@gmail.com>
Wed, 4 May 2011 17:54:27 +0000 (17:54 +0000)
committerAkira Hatanaka <ahatanak@gmail.com>
Wed, 4 May 2011 17:54:27 +0000 (17:54 +0000)
commit6b7588e6c4f6f1a9ab2b5182fafaa95eeb56ca8d
treece8641b51bd329cebd7bb0043678e9a43d1f3f38
parent597a7664e1bbe2ea5f757eb6e853bd1d2fe98d6c
Prevent instructions using $gp from being placed between a jalr and the instruction that restores the clobbered $gp.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130847 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips.h
lib/Target/Mips/MipsEmitGPRestore.cpp [new file with mode: 0644]
lib/Target/Mips/MipsISelLowering.cpp
lib/Target/Mips/MipsTargetMachine.cpp
lib/Target/Mips/MipsTargetMachine.h
test/CodeGen/Mips/gprestore.ll [new file with mode: 0644]
test/CodeGen/Mips/internalfunc.ll