summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJessica Paquette <jpaquette@apple.com>2017-12-09 00:43:49 +0000
committerJessica Paquette <jpaquette@apple.com>2017-12-09 00:43:49 +0000
commita249c4f513aec66a08ac0d92c52980f84bdcd17c (patch)
treef663751ea4ea57671dabd1b04290d7a27a727379 /clang/lib/CodeGen/CodeGenModule.cpp
parentf318d95524092a1e8e40f051bbf53c3ff7f6b12b (diff)
downloadbcm5719-llvm-a249c4f513aec66a08ac0d92c52980f84bdcd17c.tar.gz
bcm5719-llvm-a249c4f513aec66a08ac0d92c52980f84bdcd17c.zip
[MachineOutliner] Outline calls
The outliner previously would never outline calls. Calls are pretty common in files, so it makes sense to outline them. In fact, in the LLVM test suite, if you count the number of instructions that the outliner misses when you outline calls vs when you don't, it turns out that, on average, around 6% of the instructions encountered are calls. So, if we outline calls, we can find more candidates, and thus save some more space. This commit adds that functionality and updates the mir test to reflect that. llvm-svn: 320229
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud