projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04d5f44
)
Remove some silly code.
author
Daniel Dunbar
<daniel@zuster.org>
Wed, 3 Jun 2009 18:13:05 +0000
(18:13 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Wed, 3 Jun 2009 18:13:05 +0000
(18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72788
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/StandardPasses.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/StandardPasses.h
b/include/llvm/Support/StandardPasses.h
index 61f59a3b024d0fe76e35e60cbc3b5368b2e776c7..b97f08d9cd20e53b458cb8c3e2ba09758f9b7ce7 100644
(file)
--- 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