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 build: Tidy up a bunch of tool Makefiles, and simplify where possible using the 2011-10-18 19:27:24 +00:00
gold drop unneeded config.h includes 2011-12-22 23:04:07 +00:00
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 LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-as LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-bcanalyzer fix PR12301 - llvm-bcanalyze should print to stdout, not stderr (except for errors). 2012-03-19 23:40:48 +00:00
llvm-config llvm-config: Use sys::fs::equivalent instead of string comparison. 2012-05-15 22:07:18 +00:00
llvm-cov LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-diff ConstantRangesSet renamed to IntegersSubset. CRSBuilder renamed to IntegersSubsetMapping. 2012-05-29 12:26:47 +00:00
llvm-dis Enable streaming of bitcode 2012-02-06 22:30:29 +00:00
llvm-dwarfdump LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-extract Remove extraneous ".get()->" which is just "->". No functionality change. 2011-12-30 19:17:23 +00:00
llvm-link LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-mc Allow MCCodeEmitter access to the target MCRegisterInfo. 2012-05-15 17:35:52 +00:00
llvm-nm Fix uses of the C99 PRI format macros not to conflict with C++11 UDLs. 2012-03-10 02:04:38 +00:00
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 LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-ranlib LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-readobj Fix uses of the C99 PRI format macros not to conflict with C++11 UDLs. 2012-03-10 02:04:38 +00:00
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 LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
llvm-stress Do not convert between fp128 <-> ppc_fp128 since there is no legal cast conversion between the two. 2012-04-15 20:17:14 +00:00
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 Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +00:00
Makefile Remove llvm-ld and llvm-stub (which is only used by llvm-ld). 2012-04-19 19:27:54 +00:00