summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/ELF.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2018-11-08 00:02:11 +0000
committerJessica Paquette <jpaquette@apple.com>2018-11-08 00:02:11 +0000
commit267d266c294dcc008da0f7cbab10e53600493cc4 (patch)
tree0f22159bd9be292eacf97c89833b066b11c898ab /llvm/lib/Object/ELF.cpp
parentcbb5c86837d419b7be6d0b840c92c4209b757428 (diff)
downloadbcm5719-llvm-267d266c294dcc008da0f7cbab10e53600493cc4.tar.gz
bcm5719-llvm-267d266c294dcc008da0f7cbab10e53600493cc4.zip
[MachineOutliner][NFC] Don't map MBBs that don't contain legal instructions
I noticed that there are lots of basic blocks that don't have enough legal instructions in them to warrant outlining. We can skip mapping these entirely. In sqlite3, compiled for AArch64 at -Oz, this results in a 10% reduction of the total nodes in the suffix tree. These nodes can never be part of a repeated substring, and so they don't impact the result at all. Before this, there were 62128 nodes in the tree for sqlite3. After this, there are 56457 nodes. llvm-svn: 346373
Diffstat (limited to 'llvm/lib/Object/ELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud