summaryrefslogtreecommitdiffstats
path: root/llvm/include
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
commit0460f723f63abd0f1200ee73a859fd6e22a9977a (patch)
tree42ac435fcbf64f3bf1ab50b1ce116d8afb129254 /llvm/include
parent0c48b648075ddd458d5b5fa0a46ce0dfd02436e9 (diff)
downloadbcm5719-llvm-0460f723f63abd0f1200ee73a859fd6e22a9977a.tar.gz
bcm5719-llvm-0460f723f63abd0f1200ee73a859fd6e22a9977a.zip
Remove some silly code.
llvm-svn: 72788
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Support/StandardPasses.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/StandardPasses.h b/llvm/include/llvm/Support/StandardPasses.h
index 61f59a3b024..b97f08d9cd2 100644
--- a/llvm/include/llvm/Support/StandardPasses.h
+++ b/llvm/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
OpenPOWER on IntegriCloud