[llvm-commits] [llvm-gcc-4.2] r49062 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp

Evan Cheng evan.cheng at apple.com
Tue Apr 1 17:00:43 PDT 2008


Author: evancheng
Date: Tue Apr  1 19:00:42 2008
New Revision: 49062

URL: http://llvm.org/viewvc/llvm-project?rev=49062&view=rev
Log:
Drop inline threshold to 100 when optimizing for size.

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=49062&r1=49061&r2=49062&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Tue Apr  1 19:00:42 2008
@@ -129,8 +129,8 @@
   if (flag_debug_pass_arguments)
     Args.push_back("--debug-pass=Arguments");
   if (optimize_size)
-    // Reduce inline limit. Default limit is 400.
-    Args.push_back("--inline-threshold=200");
+    // Reduce inline limit. Default limit is 200.
+    Args.push_back("--inline-threshold=100");
 
   // If there are options that should be passed through to the LLVM backend
   // directly from the command line, do so now.  This is mainly for debugging





More information about the llvm-commits mailing list