summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/CPP
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2014-09-25 23:14:26 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2014-09-25 23:14:26 +0000
commitd04f7596e79d7c5cf7e4249ad62690afaecd01ec (patch)
treeb5243cdbd801c8876cff05bc2420c3ee17a76f23 /llvm/test/CodeGen/CPP
parenteac48b61f4fe5dd0bba76285bacfd89e1286f4c2 (diff)
downloadbcm5719-llvm-d04f7596e79d7c5cf7e4249ad62690afaecd01ec.tar.gz
bcm5719-llvm-d04f7596e79d7c5cf7e4249ad62690afaecd01ec.zip
[MachineSink+PGO] Teach MachineSink to use BlockFrequencyInfo
Machine Sink uses loop depth information to select between successors BBs to sink machine instructions into, where BBs within smaller loop depths are preferable. This patch adds support for choosing between successors by using profile information from BlockFrequencyInfo instead, whenever the information is available. Tested it under SPEC2006 train (average of 30 runs for each program); ~1.5% execution speedup in average on x86-64 darwin. <rdar://problem/18021659> llvm-svn: 218472
Diffstat (limited to 'llvm/test/CodeGen/CPP')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud