]> granicus.if.org Git - llvm/commit
Merging r203054:
authorTom Stellard <thomas.stellard@amd.com>
Wed, 9 Apr 2014 00:20:55 +0000 (00:20 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Wed, 9 Apr 2014 00:20:55 +0000 (00:20 +0000)
commitcccd27683c7fa4a9e8e09d2f2a735a9bb6e56a0b
treec37eac6126788b3542fcfb84683db1bc7453543d
parentc69aaa1a2ca8dd581aec9aa326ddfd57d4827294
Merging r203054:

------------------------------------------------------------------------
r203054 | hfinkel | 2014-03-05 20:28:23 -0500 (Wed, 05 Mar 2014) | 7 lines

The PPC global base register cannot be r0

The global base register cannot be r0 because it might end up as the first
argument to addi or addis. Fixes PR18316.

I don't have a small stable test case.

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_34@205823 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp