[llvm-commits] [llvm-gcc-4.2] r51690 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Thu May 29 11:00:55 PDT 2008
Author: evancheng
Date: Thu May 29 13:00:55 2008
New Revision: 51690
URL: http://llvm.org/viewvc/llvm-project?rev=51690&view=rev
Log:
Lower inline limit at -O2.
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=51690&r1=51689&r2=51690&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Thu May 29 13:00:55 2008
@@ -128,7 +128,7 @@
Args.push_back("--debug-pass=Structure");
if (flag_debug_pass_arguments)
Args.push_back("--debug-pass=Arguments");
- if (optimize_size || flag_inline_trees == 1)
+ if (optimize_size || optimize < 3)
// Reduce inline limit. Default limit is 200.
Args.push_back("--inline-threshold=50");
if (flag_unwind_tables)
More information about the llvm-commits
mailing list