Skip to content

Commit f8314c3

Browse files
committed
Enable VPlan native-path for outer loop vectorization
1 parent 4c9bede commit f8314c3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/codegen.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10315,6 +10315,10 @@ extern "C" void jl_init_llvm(void)
1031510315
clopt = llvmopts.lookup("combiner-store-merge-dependence-limit");
1031610316
if (clopt && clopt->getNumOccurrences() == 0)
1031710317
cl::ProvidePositionalOption(clopt, "4", 1);
10318+
// Enable VPlan native path for outer loop vectorization
10319+
clopt = llvmopts.lookup("enable-vplan-native-path");
10320+
if (clopt->getNumOccurrences() == 0)
10321+
cl::ProvidePositionalOption(clopt, "1", 1);
1031810322

1031910323
clopt = llvmopts.lookup("time-passes");
1032010324
if (clopt && clopt->getNumOccurrences() > 0)

0 commit comments

Comments
 (0)