summaryrefslogtreecommitdiff
path: root/tools/opt/opt.cpp
diff options
context:
space:
mode:
authorGreg Bedwell <greg_bedwell@sn.scee.net>2013-10-09 08:55:27 +0000
committerGreg Bedwell <greg_bedwell@sn.scee.net>2013-10-09 08:55:27 +0000
commit0568ba6e3af7ae7eb3ad7871ad0581c926150c8d (patch)
tree1abf6e0046c84b1a9bdd268aa2de46d9f8479fd5 /tools/opt/opt.cpp
parent50dc2ad46ca9a5391bc75c9e3620337afefb995c (diff)
downloadllvm-0568ba6e3af7ae7eb3ad7871ad0581c926150c8d.tar.gz
llvm-0568ba6e3af7ae7eb3ad7871ad0581c926150c8d.tar.bz2
llvm-0568ba6e3af7ae7eb3ad7871ad0581c926150c8d.tar.xz
Test commit. Remove whitespace from otherwise empty lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/opt/opt.cpp')
-rw-r--r--tools/opt/opt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 71a9c02b51..0055bb0981 100644
--- a/tools/opt/opt.cpp
+++ b/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;