Force the intregs ptr into R2 and the FPregs ptr into R3. This fixes a really
authorChris Lattner <sabre@nondot.org>
Wed, 24 Nov 2004 17:42:55 +0000 (17:42 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 24 Nov 2004 17:42:55 +0000 (17:42 +0000)
commitfb887e010dea16ecfe5204132dacf453af0d62c2
tree30a9c945011c729c891fbfb304c8bb2d41782c76
parent5f8448f79c2876466d586f2e1caec89e6f070623
Force the intregs ptr into R2 and the FPregs ptr into R3.  This fixes a really
obscure problem where we were doing:

lmw     r3,0(r9)

which is undefined on PPC.  Now we do:

lmw     r3,0(r2)

by force, not relying on the GCC register allocator for luck :)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18212 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCJITInfo.cpp