summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2015-09-16 03:26:31 +0000
committerRui Ueyama <ruiu@google.com>2015-09-16 03:26:31 +0000
commit9cb2870ce09b6558ec431bf58b7d8a567f23ecef (patch)
tree0a61c302f35c0f09a1cfb921c21681f791f23862 /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parentfc314be0ec871771d2c7ecb31aa4c20a76328bfa (diff)
downloadbcm5719-llvm-9cb2870ce09b6558ec431bf58b7d8a567f23ecef.tar.gz
bcm5719-llvm-9cb2870ce09b6558ec431bf58b7d8a567f23ecef.zip
ICF: Improve ICF to reduce more sections than before.
This is a patch to make LLD to be on par with MSVC in terms of ICF effectiveness. MSVC produces a 27.14MB executable when linking LLD. LLD previously produced a 27.61MB when self-linking. Now the size is reduced to 27.11MB. Note that without ICF the size is 29.63MB. In r247387, I implemented an algorithm that handles section graphs as cyclic graphs and merge them using SCC. The algorithm did not always work as intended as I demonstrated in r247721. The new algortihm implemented in this patch is different from the previous one. If you are interested the details, you want to read the file comment of ICF.cpp. llvm-svn: 247770
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud