summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/circular_raw_ostream.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-03-14 10:58:38 +0000
committerDaniel Jasper <djasper@google.com>2015-03-14 10:58:38 +0000
commit15e6954aea2be43eb55b358967e851a65ea013c7 (patch)
treed0fbe8b6b4e692bded28cf76250be9d5188593db /llvm/lib/Support/circular_raw_ostream.cpp
parentcd617155649c9f4220e90ea774f21d8e1f35844e (diff)
downloadbcm5719-llvm-15e6954aea2be43eb55b358967e851a65ea013c7.tar.gz
bcm5719-llvm-15e6954aea2be43eb55b358967e851a65ea013c7.zip
[MachineLICM] First steps of sinking GEPs near calls.
Specifically, if there are copy-like instructions in the loop header they are moved into the loop close to their uses. This reduces the live intervals of the values and can avoid register spills. This is working towards a fix for http://llvm.org/PR22230. Review: http://reviews.llvm.org/D7259 Next steps: - Find a better cost model (which non-copy instructions should be sunk?) - Make this dependent on register pressure llvm-svn: 232262
Diffstat (limited to 'llvm/lib/Support/circular_raw_ostream.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud