[llvm-commits] [llvm-gcc-4.2] r40008 - in /llvm-gcc-4.2/trunk/gcc: llvm-backend.cpp llvm-linker-hack.cpp

Owen Anderson resistor at mac.com
Wed Jul 18 11:12:06 PDT 2007


Author: resistor
Date: Wed Jul 18 13:12:05 2007
New Revision: 40008

URL: http://llvm.org/viewvc/llvm-project?rev=40008&view=rev
Log:
Use FastDSE instead of DSE.

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=40008&r1=40007&r2=40008&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Wed Jul 18 13:12:05 2007
@@ -349,7 +349,7 @@
     // opened up by them.
     PM->add(createInstructionCombiningPass());
     PM->add(createCondPropagationPass());       // Propagate conditionals
-    PM->add(createDeadStoreEliminationPass());  // Delete dead stores
+    PM->add(createFastDeadStoreEliminationPass());  // Delete dead stores
     PM->add(createAggressiveDCEPass());         // SSA based 'Aggressive DCE'
     PM->add(createCFGSimplificationPass());     // Merge & remove BBs
     

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=40008&r1=40007&r2=40008&view=diff

==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-linker-hack.cpp Wed Jul 18 13:12:05 2007
@@ -77,7 +77,7 @@
   llvm::createDeadArgEliminationPass();
   llvm::createLoadValueNumberingPass();
   llvm::createTailCallEliminationPass();
-  llvm::createDeadStoreEliminationPass();
+  llvm::createFastDeadStoreEliminationPass();
   llvm::createIPConstantPropagationPass();
   llvm::createStripDeadPrototypesPass();
 }





More information about the llvm-commits mailing list