llvm-6502/tools
Daniel Dunbar e0f0e0be1c Change LTO to run the global opt pass twice.
- This matches llvm-ld.

It took a bit of archeology to figure out what the right thing to do was
(whether this was intentionally added or intentionally removed). My final
conclusion is that Chris added this intentionally here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=16913
but the changes weren't propogated to llvm-ld until here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=34058
which was after lto.cpp had been cloned off (of llvm-ld), here:
  http://llvm.org/viewvc/llvm-project?view=rev&revision=29494

From the commit message, it looks like the motivation for running global opt
again is because we ran it prior to inlining. Based on that I updated the
comment and also only run the pass if we actually ran the inliner.

Chris, please review.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72811 91177308-0d34-0410-b5e6-96231b3b80d8
2009-06-03 21:51:32 +00:00
..
bugpoint Fix the crash debugger to actually bisect globals once it's determined that it 2009-05-25 06:29:56 +00:00
gccas remove attributions 2007-12-29 20:46:15 +00:00
gccld remove attributions 2007-12-29 20:46:15 +00:00
gold Make sure the CXXFLAGS setting is picked up by 2009-05-16 04:00:00 +00:00
llc Default llc / lli optimization to "Default", which corresponds to -O1 / -O2. 2009-05-04 23:05:19 +00:00
lli Default llc / lli optimization to "Default", which corresponds to -O1 / -O2. 2009-05-04 23:05:19 +00:00
llvm-ar Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-as Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-bcanalyzer Add missing codenames to the .bc analyzer. 2009-06-01 04:41:03 +00:00
llvm-config CMake: Implements and documents option LLVM_ENABLE_ASSERTS. 2009-06-03 15:11:25 +00:00
llvm-db Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-dis Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-extract Use .empty() instead of .size(). 2009-04-20 16:19:02 +00:00
llvm-ld Change LTO to run the global opt pass twice. 2009-06-03 21:51:32 +00:00
llvm-link Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-nm Add a new "available_externally" linkage type. This is intended 2009-04-13 05:44:34 +00:00
llvm-prof Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-ranlib Change various llvm utilities to use PrettyStackTraceProgram in 2009-03-06 05:34:10 +00:00
llvm-stub Comment headers should extend to 80 chars. 2008-12-31 17:40:52 +00:00
llvmc The 'forward_as' property did not use its second argument. 2009-05-06 01:41:19 +00:00
lto Change LTO to run the global opt pass twice. 2009-06-03 21:51:32 +00:00
opt Switch opt to using StandardPasses.h 2009-06-03 18:22:15 +00:00
CMakeLists.txt CMake: llvmc2 is now known as llvmc. 2008-11-25 22:18:49 +00:00
Makefile aDd support for building a subset of the llvm tools, patch by Jeffrey Yasskin! 2009-04-25 22:08:52 +00:00