aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-06-03 18:13:05 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-06-03 18:13:05 +0000
commite98c4d0b10047f311d5bcb67bf12bfdaf484fb3b (patch)
tree8c6dd071962f2fb10c1dc5b46f1844a6a87a125a
parent04d5f44882b29e41a29aa59be14d69a69d0ddb23 (diff)
Remove some silly code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72788 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/StandardPasses.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/StandardPasses.h b/include/llvm/Support/StandardPasses.h
index 61f59a3b02..b97f08d9cd 100644
--- a/include/llvm/Support/StandardPasses.h
+++ b/include/llvm/Support/StandardPasses.h
@@ -115,7 +115,7 @@ namespace llvm {
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