aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2013-12-07 00:27:17 +0000
committerRui Ueyama <ruiu@google.com>2013-12-07 00:27:17 +0000
commit32c3f17d3655fa97817c697e8e2456e9283567ae (patch)
tree6930f7db63f7250a4c8f781307b1a54547812f93 /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent4aafaee7df9a3181fbf20531c3dbe3a81985cd03 (diff)
downloadllvm-32c3f17d3655fa97817c697e8e2456e9283567ae.zip
llvm-32c3f17d3655fa97817c697e8e2456e9283567ae.tar.gz
llvm-32c3f17d3655fa97817c697e8e2456e9283567ae.tar.bz2
Re-submit r195852 with GroupedSectionsPass change.
GroupedSectionsPass was a complicated pass. That pass's job was to reorder atoms by section name, so that the atoms with the same section prefix will be emitted consecutively to the executable. The pass added layout edges to atoms, and let the layout pass to actually reorder them. This patch simplifies the design by making GroupedSectionPass to directly reorder atoms, rather than adding layout edges. This resembles ELF's ArrayOrderPass. This patch improves the performance of LLD; it used to take 7.1 seconds to link LLD with LLD on my Macbook Pro, but it now takes 6.1 seconds. llvm-svn: 196628
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions