summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorAhmed Bougacha <ahmed.bougacha@gmail.com>2017-03-15 18:22:33 +0000
committerAhmed Bougacha <ahmed.bougacha@gmail.com>2017-03-15 18:22:33 +0000
commita61c214f51680bf20ab75eee0e399d3df5e3b6e7 (patch)
tree87a15d6a7f535140ec44c02dab41a156299d0944 /llvm/lib/Transforms
parentd8319e99d83f463d19c044b7b431b7fe59b3a634 (diff)
downloadbcm5719-llvm-a61c214f51680bf20ab75eee0e399d3df5e3b6e7.tar.gz
bcm5719-llvm-a61c214f51680bf20ab75eee0e399d3df5e3b6e7.zip
[GlobalISel] Preserve IR block layout.
It makes the output function layout more predictable; the layout has an effect on performance, we don't want it to be at the mercy of the translator's visitation order and such. The predictable output is also easier to digest. getOrCreateBB isn't appropriately named anymore, as it never needs to create anything. Rename it and extract the MBB creation logic out of it. A couple tests were sensitive to the order. Update them. llvm-svn: 297868
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud