projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3a7140
)
Test commit. Remove whitespace from otherwise empty lines.
author
Greg Bedwell
<greg_bedwell@sn.scee.net>
Wed, 9 Oct 2013 08:55:27 +0000
(08:55 +0000)
committer
Greg Bedwell
<greg_bedwell@sn.scee.net>
Wed, 9 Oct 2013 08:55:27 +0000
(08:55 +0000)
llvm-svn: 192284
llvm/tools/opt/opt.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/opt/opt.cpp
b/llvm/tools/opt/opt.cpp
index
71a9c02
..
0055bb0
100644
(file)
--- a/
llvm/tools/opt/opt.cpp
+++ b/
llvm/tools/opt/opt.cpp
@@
-417,7
+417,7
@@
struct BreakpointPrinter : public ModulePass {
AU.setPreservesAll();
}
};
-
+
} // anonymous namespace
char BreakpointPrinter::ID = 0;
@@
-460,7
+460,7
@@
static void AddOptimizationPasses(PassManagerBase &MPM,FunctionPassManager &FPM,
Builder.DisableUnitAtATime = !UnitAtATime;
Builder.DisableUnrollLoops = (DisableLoopUnrolling.getNumOccurrences() > 0) ?
DisableLoopUnrolling : OptLevel == 0;
-
+
Builder.LoopVectorize = OptLevel > 1 && SizeLevel < 2;
Builder.SLPVectorize = true;