summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/IRObjectFile.cpp
diff options
context:
space:
mode:
authorArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>2015-06-15 09:09:06 +0000
committerArnaud A. de Grandmaison <arnaud.degrandmaison@arm.com>2015-06-15 09:09:06 +0000
commitd8673edc2d0efd7e5963db40e5b5c8e620494af8 (patch)
tree9ee33452210a508a3cad1d4497da27be7ead74fa /llvm/lib/Object/IRObjectFile.cpp
parent1aaf736d897170af4140643b49a5074b18f82fed (diff)
downloadbcm5719-llvm-d8673edc2d0efd7e5963db40e5b5c8e620494af8.tar.gz
bcm5719-llvm-d8673edc2d0efd7e5963db40e5b5c8e620494af8.zip
[MachineSink] Improve runtime performance. NFC.
This patch fixes a compilation time issue, when MachineSink faces PHIs with a huge number of operands. This can happen for example in goto table based interpreters, where some basic blocks can have several of those PHIs, each one with several hundreds operands. MachineSink was spending a significant time re-building and re-sorting the list of successors of the current MachineBasicBlock. The computing and sorting of the current MachineBasicBlock successors is now cached. llvm-svn: 239720
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud