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

Daniel Dunbar daniel at zuster.org
Wed Jun 3 11:13:06 PDT 2009


Author: ddunbar
Date: Wed Jun  3 13:13:05 2009
New Revision: 72788

URL: http://llvm.org/viewvc/llvm-project?rev=72788&view=rev
Log:
Remove some silly code.

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=72788&r1=72787&r2=72788&view=diff

==============================================================================
--- llvm/trunk/include/llvm/Support/StandardPasses.h (original)
+++ llvm/trunk/include/llvm/Support/StandardPasses.h Wed Jun  3 13:13:05 2009
@@ -115,7 +115,7 @@
       PM->add(createReassociatePass());           // Reassociate expressions
       PM->add(createLoopRotatePass());            // Rotate Loop
       PM->add(createLICMPass());                  // Hoist loop invariants
-      PM->add(createLoopUnswitchPass(OptimizeSize ? true : false));
+      PM->add(createLoopUnswitchPass(OptimizeSize));
       PM->add(createLoopIndexSplitPass());        // Split loop index
       PM->add(createInstructionCombiningPass());  
       PM->add(createIndVarSimplifyPass());        // Canonicalize indvars





More information about the llvm-commits mailing list