[llvm-commits] [dragonegg] r88770 - /dragonegg/trunk/llvm-backend.cpp
Duncan Sands
baldrick at free.fr
Sat Nov 14 02:35:22 PST 2009
Author: baldrick
Date: Sat Nov 14 04:35:22 2009
New Revision: 88770
URL: http://llvm.org/viewvc/llvm-project?rev=88770&view=rev
Log:
Port commit 85580 (evancheng) from llvm-gcc:
This makes no sense. Optimize < 3 should not mean optimize_size. They are two different concepts.
Modified:
dragonegg/trunk/llvm-backend.cpp
Modified: dragonegg/trunk/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/dragonegg/trunk/llvm-backend.cpp?rev=88770&r1=88769&r2=88770&view=diff
==============================================================================
--- dragonegg/trunk/llvm-backend.cpp (original)
+++ dragonegg/trunk/llvm-backend.cpp Sat Nov 14 04:35:22 2009
@@ -698,7 +698,7 @@
HasPerModulePasses = true;
createStandardModulePasses(PerModulePasses, optimize,
- optimize_size || optimize < 3,
+ optimize_size,
flag_unit_at_a_time, flag_unroll_loops,
!flag_no_simplify_libcalls, flag_exceptions,
InliningPass);
More information about the llvm-commits
mailing list