1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/lto
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
..
CMakeLists.txt Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00
lto.cpp Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00
lto.exports Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00
LTOCodeGenerator.cpp Reinstate -O3 for LTO. 2012-05-30 18:42:51 +00:00
LTOCodeGenerator.h Remove lto_codegen_set_whole_program_optimization. It is a work in progress, 2012-04-16 10:58:38 +00:00
LTOModule.cpp Fix a use after free when the streamer is destroyed. Fixes pr12622. 2012-05-11 03:42:13 +00:00
LTOModule.h Hack the hack. If we have a situation where an ASM object is defined but isn't 2012-04-02 10:01:21 +00:00
Makefile Add a basic-block autovectorization pass. 2012-02-01 03:51:43 +00:00