diff options
author | Sean Silva <chisophugis@gmail.com> | 2016-07-10 00:57:52 +0000 |
---|---|---|
committer | Sean Silva <chisophugis@gmail.com> | 2016-07-10 00:57:52 +0000 |
commit | 56c01b37d98bd34e56c2d2ed4659ab2be50ac706 (patch) | |
tree | d1ed23dd418231d703f18d2cc88f38bcda38a630 | |
parent | 4accddb312ad61574d142d7973592f08b48a12ed (diff) |
Delete dead code.
We were just setting DisableUnitAtATime to its default value.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275005 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Frontend/CodeGenOptions.def | 2 | ||||
-rw-r--r-- | lib/CodeGen/BackendUtil.cpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/clang/Frontend/CodeGenOptions.def b/include/clang/Frontend/CodeGenOptions.def index c34730d795..85f7c90dcd 100644 --- a/include/clang/Frontend/CodeGenOptions.def +++ b/include/clang/Frontend/CodeGenOptions.def @@ -150,8 +150,6 @@ CODEGENOPT(SoftFloat , 1, 0) ///< -soft-float. CODEGENOPT(StrictEnums , 1, 0) ///< Optimize based on strict enum definition. CODEGENOPT(StrictVTablePointers, 1, 0) ///< Optimize based on the strict vtable pointers CODEGENOPT(TimePasses , 1, 0) ///< Set when -ftime-report is enabled. -CODEGENOPT(UnitAtATime , 1, 1) ///< Unused. For mirroring GCC optimization - ///< selection. CODEGENOPT(UnrollLoops , 1, 0) ///< Control whether loops are unrolled. CODEGENOPT(RerollLoops , 1, 0) ///< Control whether loops are rerolled. CODEGENOPT(NoUseJumpTables , 1, 0) ///< Set when -fno-jump-tables is enabled. diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 310486e37f..0c09fd16da 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -356,7 +356,6 @@ void EmitAssemblyHelper::CreatePasses(ModuleSummaryIndex *ModuleSummary) { PMBuilder.SLPVectorize = CodeGenOpts.VectorizeSLP; PMBuilder.LoopVectorize = CodeGenOpts.VectorizeLoop; - PMBuilder.DisableUnitAtATime = !CodeGenOpts.UnitAtATime; PMBuilder.DisableUnrollLoops = !CodeGenOpts.UnrollLoops; PMBuilder.MergeFunctions = CodeGenOpts.MergeFunctions; PMBuilder.PrepareForThinLTO = CodeGenOpts.EmitSummaryIndex; |