[llvm-branch-commits] [llvm-gcc-branch] r86223 - /llvm-gcc-4.2/branches/Apple/Leela-M1/gcc/llvm-backend.cpp
Evan Cheng
evan.cheng at apple.com
Thu Nov 5 18:56:32 PST 2009
Author: evancheng
Date: Thu Nov 5 20:56:32 2009
New Revision: 86223
URL: http://llvm.org/viewvc/llvm-project?rev=86223&view=rev
Log:
Merge 86219 and 86220.
Modified:
llvm-gcc-4.2/branches/Apple/Leela-M1/gcc/llvm-backend.cpp
Modified: llvm-gcc-4.2/branches/Apple/Leela-M1/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/branches/Apple/Leela-M1/gcc/llvm-backend.cpp?rev=86223&r1=86222&r2=86223&view=diff
==============================================================================
--- llvm-gcc-4.2/branches/Apple/Leela-M1/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/branches/Apple/Leela-M1/gcc/llvm-backend.cpp Thu Nov 5 20:56:32 2009
@@ -357,15 +357,8 @@
return 50;
if (optimize >= 3)
- return 200;
-
- // gcc mark C++ member functions "inline" and inline them more aggressively.
- // We are not going to do that. Up the inline threshold when compiling for
- // C++.
- StringRef LanguageName = lang_hooks.name;
- if (LanguageName == "GNU C++" || LanguageName == "GNU Objective-C++")
- return 200;
- return 50;
+ return 250;
+ return 200;
}
void llvm_initialize_backend(void) {
More information about the llvm-branch-commits
mailing list