mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
57af7f0167
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
lto.cpp | ||
lto.exports | ||
LTOCodeGenerator.cpp | ||
LTOCodeGenerator.h | ||
LTOModule.cpp | ||
LTOModule.h | ||
Makefile |