[llvm-commits] [llvm] r123418 - /llvm/trunk/include/llvm/Support/StandardPasses.h

Owen Anderson resistor at mac.com
Thu Jan 13 16:41:11 PST 2011


Author: resistor
Date: Thu Jan 13 18:41:11 2011
New Revision: 123418

URL: http://llvm.org/viewvc/llvm-project?rev=123418&view=rev
Log:
Rather than doing early instcombine, try doing early CSE instead.  This should still handle
most important simplifications, as well as resolving phase ordering issues where instcombine
would inhibit important CSE'ing opportunities, for instance on BitBench/drop3.

Modified:
    llvm/trunk/include/llvm/Support/StandardPasses.h

Modified: llvm/trunk/include/llvm/Support/StandardPasses.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/StandardPasses.h?rev=123418&r1=123417&r2=123418&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/StandardPasses.h (original)
+++ llvm/trunk/include/llvm/Support/StandardPasses.h Thu Jan 13 18:41:11 2011
@@ -83,7 +83,7 @@
       createStandardAliasAnalysisPasses(PM);
       PM->add(createCFGSimplificationPass());
       PM->add(createScalarReplAggregatesPass());
-      PM->add(createInstructionCombiningPass());
+      PM->add(createEarlyCSEPass());
     }
   }
 





More information about the llvm-commits mailing list