llvm-6502/tools
David Blaikie 4f56a30e0d Reinstate -O3 for LTO.
This broke in r144788 when the CodeGenOpt option was moved from everywhere else
(specifically, from addPassesToEmitFile) to createTargetMachine. Since
LTOCodeGenerator wasn't passing the 4th argument, when the 4th parameter became
the 3rd, it silently continued to compile (int->bool conversion) but meant
something completely different.

This change preserves the existing (accidental) and previous (default)
semantics of the addPassesToEmitFile and restores the previous/intended
CodeGenOpt argument by passing it appropriately to createTargetMachine.

(discovered by pending changes to -Wconversion to catch constant->bool
conversions)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157705 91177308-0d34-0410-b5e6-96231b3b80d8
2012-05-30 18:42:51 +00:00
..
bugpoint Move the CodeExtractor utility to a dedicated header file / source file, 2012-05-04 10:18:49 +00:00
bugpoint-passes
gold
llc Add an insertPass API to TargetPassConfig. <rdar://problem/11498613> 2012-05-30 00:17:12 +00:00
lli Plug a leak when using MCJIT. 2012-05-20 17:24:08 +00:00
llvm-ar
llvm-as
llvm-bcanalyzer
llvm-config llvm-config: Use sys::fs::equivalent instead of string comparison. 2012-05-15 22:07:18 +00:00
llvm-cov
llvm-diff ConstantRangesSet renamed to IntegersSubset. CRSBuilder renamed to IntegersSubsetMapping. 2012-05-29 12:26:47 +00:00
llvm-dis
llvm-dwarfdump
llvm-extract
llvm-link
llvm-mc Allow MCCodeEmitter access to the target MCRegisterInfo. 2012-05-15 17:35:52 +00:00
llvm-nm
llvm-objdump Fixed a bug in llvm-objdump when disassembling using -macho option for a binary 2012-05-18 00:13:56 +00:00
llvm-prof
llvm-ranlib
llvm-readobj
llvm-rtdyld Added LLIMCJITMemoryManager to the lli. This manager will be used for MCJIT instead of DefaultJIMMemoryManager. 2012-05-16 18:50:11 +00:00
llvm-shlib openbsd doesn't support soname, patch by Brad Smith! 2012-04-25 06:37:20 +00:00
llvm-size
llvm-stress
lto Reinstate -O3 for LTO. 2012-05-30 18:42:51 +00:00
macho-dump Refactor data-in-code annotations. 2012-05-18 19:12:01 +00:00
opt Teach the 'opt' tool about '-Os' and '-Oz', corresponding to the Clang 2012-05-16 08:32:49 +00:00
CMakeLists.txt [CMake] Restructure how Clang, Polly and other external projects get included. 2012-04-26 19:43:35 +00:00
LLVMBuild.txt
Makefile