diff options
author | Hal Finkel <hfinkel@anl.gov> | 2013-04-09 17:27:09 +0000 |
---|---|---|
committer | Hal Finkel <hfinkel@anl.gov> | 2013-04-09 17:27:09 +0000 |
commit | b5899d57741830a618ce9a26bc560c6d6c2d4646 (patch) | |
tree | 2e81e7fcaa77666b1ca45a5151a735d50a3945be /llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp | |
parent | 059825b0f86458dfbf1e286076bea43e59756412 (diff) | |
download | bcm5719-llvm-b5899d57741830a618ce9a26bc560c6d6c2d4646.tar.gz bcm5719-llvm-b5899d57741830a618ce9a26bc560c6d6c2d4646.zip |
Use virtual base registers on PPC
On PowerPC, non-vector loads and stores have r+i forms; however, in functions
with large stack frames these were not being used to access slots far from the
stack pointer because such slots were out of range for the signed 16-bit
immediate offset field. This increases register pressure because we need a
separate register for each offset (when the r+r form is used). By enabling
virtual base registers, we can deal with large stack frames without unduly
increasing register pressure.
llvm-svn: 179105
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/DAGCombiner.cpp')
0 files changed, 0 insertions, 0 deletions