Skip to content

Commit 21a25c8

Browse files
authored
Merge pull request #37727 from jirid/SR-14453-remove-disable-llvm-slp-vectorizer
2 parents ff0c90f + e32e645 commit 21a25c8

File tree

3 files changed

+1
-8
lines changed

3 files changed

+1
-8
lines changed

include/swift/AST/IRGenOptions.h

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,6 @@ class IRGenOptions {
250250
/// Whether we should run swift specific LLVM optimizations after IRGen.
251251
unsigned DisableSwiftSpecificLLVMOptzns : 1;
252252

253-
/// Whether we should run LLVM SLP vectorizer.
254-
unsigned DisableLLVMSLPVectorizer : 1;
255-
256253
/// Special codegen for playgrounds.
257254
unsigned Playground : 1;
258255

@@ -384,7 +381,7 @@ class IRGenOptions {
384381
DebugInfoFormat(IRGenDebugInfoFormat::None),
385382
DisableClangModuleSkeletonCUs(false), UseJIT(false),
386383
DisableLLVMOptzns(false), DisableSwiftSpecificLLVMOptzns(false),
387-
DisableLLVMSLPVectorizer(false), Playground(false),
384+
Playground(false),
388385
EmitStackPromotionChecks(false), FunctionSections(false),
389386
PrintInlineTree(false), EmbedMode(IRGenEmbedMode::None),
390387
LLVMLTOKind(IRGenLLVMLTOKind::None), HasValueNamesSetting(false),

include/swift/Option/FrontendOptions.td

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -352,9 +352,6 @@ def disable_sil_perf_optzns : Flag<["-"], "disable-sil-perf-optzns">,
352352
def disable_swift_specific_llvm_optzns : Flag<["-"], "disable-swift-specific-llvm-optzns">,
353353
HelpText<"Don't run Swift specific LLVM optimization passes.">;
354354

355-
def disable_llvm_slp_vectorizer : Flag<["-"], "disable-llvm-slp-vectorizer">,
356-
HelpText<"Don't run LLVM SLP vectorizer">;
357-
358355
def disable_llvm_verify : Flag<["-"], "disable-llvm-verify">,
359356
HelpText<"Don't run the LLVM IR verifier.">;
360357

lib/Frontend/CompilerInvocation.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1536,7 +1536,6 @@ static bool ParseIRGenArgs(IRGenOptions &Opts, ArgList &Args,
15361536
Opts.DisableLLVMOptzns |= Args.hasArg(OPT_disable_llvm_optzns);
15371537
Opts.DisableSwiftSpecificLLVMOptzns |=
15381538
Args.hasArg(OPT_disable_swift_specific_llvm_optzns);
1539-
Opts.DisableLLVMSLPVectorizer |= Args.hasArg(OPT_disable_llvm_slp_vectorizer);
15401539
if (Args.hasArg(OPT_disable_llvm_verify))
15411540
Opts.Verify = false;
15421541

0 commit comments

Comments
 (0)