[llvm-commits] [llvm-gcc-4.2] r53582 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm-linker-hack.cpp
Evan Cheng
evan.cheng at apple.com
Mon Jul 14 17:06:17 PDT 2008
Author: evancheng
Date: Mon Jul 14 19:06:17 2008
New Revision: 53582
URL: http://llvm.org/viewvc/llvm-project?rev=53582&view=rev
Log:
Disable tail duplication for good.
Modified:
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.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=53582&r1=53581&r2=53582&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Mon Jul 14 19:06:17 2008
@@ -380,8 +380,6 @@
PM->add(createFunctionInliningPass()); // Inline small functions
if (optimize > 2)
PM->add(createArgumentPromotionPass()); // Scalarize uninlined fn args
- if (!optimize_size)
- PM->add(createTailDuplicationPass()); // Simplify cfg by copying code
if (!lang_hooks.flag_no_builtin())
PM->add(createSimplifyLibCallsPass()); // Library Call Optimizations
PM->add(createInstructionCombiningPass()); // Cleanup for scalarrepl.
Modified: llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp?rev=53582&r1=53581&r2=53582&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp Mon Jul 14 19:06:17 2008
@@ -71,7 +71,6 @@
llvm::createPredicateSimplifierPass();
llvm::createCondPropagationPass();
llvm::createGlobalOptimizerPass();
- llvm::createTailDuplicationPass();
llvm::createJumpThreadingPass();
llvm::createFunctionInliningPass();
llvm::createRaiseAllocationsPass();
More information about the llvm-commits
mailing list