llvm-mirror/tools
David Blaikie 57af7f0167 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)

llvm-svn: 157705
2012-05-30 18:42:51 +00:00
..
bugpoint
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-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
llvm-nm
llvm-objdump
llvm-prof
llvm-ranlib
llvm-readobj
llvm-rtdyld
llvm-shlib
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
CMakeLists.txt
LLVMBuild.txt
Makefile