Enable global address legalization, fixing a todo and allowing the removal
authorChris Lattner <sabre@nondot.org>
Thu, 17 Nov 2005 18:26:56 +0000 (18:26 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 17 Nov 2005 18:26:56 +0000 (18:26 +0000)
commit3eef4e377cad01d5fbef2d67a12fe96171e0d860
treec29fe329beebe12d3bb266ad837b6a284a1c77e4
parent4f0f86de5f183b09d07b17d1f940bd3e298abfcd
Enable global address legalization, fixing a todo and allowing the removal
of some code.  This exposes the implicit load from the stubs to the DAG, allowing
them to be optimized by the dag combiner.  It also moves darwin specific stuff
out of the isel into the legalizer, and allows more to be moved to the .td file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24397 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
lib/Target/PowerPC/PPCISelLowering.cpp
lib/Target/PowerPC/README.txt