When accessing the base register for global variables, use the register
authorNate Begeman <natebegeman@mac.com>
Thu, 18 Nov 2004 06:51:29 +0000 (06:51 +0000)
committerNate Begeman <natebegeman@mac.com>
Thu, 18 Nov 2004 06:51:29 +0000 (06:51 +0000)
commit1f5308e5b54c14deee2e0e981b19bd398cb1f90b
treee54236a7ffb533f3855756fbf62b3eb56718efca
parentc8b9f33ac08e15dc1eb675cff70bf85b34b68fdd
When accessing the base register for global variables, use the register
directly rather than making a copy for the register allocator to coalesce.
This kills thousands of live intervals across the testsuite.

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