[llvm-commits] [llvm-gcc-4.2] r85580 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Fri Oct 30 00:22:36 PDT 2009
Author: evancheng
Date: Fri Oct 30 02:22:36 2009
New Revision: 85580
URL: http://llvm.org/viewvc/llvm-project?rev=85580&view=rev
Log:
This makes no sense. Optimize < 3 should not mean optimize_size. They are two different concepts.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=85580&r1=85579&r2=85580&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Fri Oct 30 02:22:36 2009
@@ -723,7 +723,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