[llvm-commits] [llvm-gcc-4.2] r50942 - /llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
Owen Anderson
resistor at mac.com
Sat May 10 00:21:33 PDT 2008
Author: resistor
Date: Sat May 10 02:21:32 2008
New Revision: 50942
URL: http://llvm.org/viewvc/llvm-project?rev=50942&view=rev
Log:
Re-enable loop deletion.
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=50942&r1=50941&r2=50942&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Sat May 10 02:21:32 2008
@@ -379,6 +379,7 @@
PM->add(createLoopIndexSplitPass()); // Split loop index
PM->add(createInstructionCombiningPass()); // Clean up after LICM/reassoc
PM->add(createIndVarSimplifyPass()); // Canonicalize indvars
+ PM->add(createLoopDeletionPass()); // Delete dead loops
if (flag_unroll_loops)
PM->add(createLoopUnrollPass()); // Unroll small loops
PM->add(createInstructionCombiningPass()); // Clean up after the unroller
More information about the llvm-commits
mailing list