Fix loop optimizations.

This commit is contained in:
Alexander David Frick 2021-12-16 08:03:56 -06:00 committed by GitHub
parent dc19fda5e8
commit 04335a8074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1911,16 +1911,16 @@ if (is_win) {
]
common_optimize_on_ldflags += [
"-Wl,-mllvm,-extra-vectorizer-passes",
"-Wl,-mllvm,-enable-cond-stores-vec",
"-Wl,-mllvm,-slp-vectorize-hor-store",
"-Wl,-mllvm,-enable-loopinterchange",
"-Wl,-mllvm,-enable-loop-distribute",
"-Wl,-mllvm,-enable-unroll-and-jam",
"-Wl,-mllvm,-enable-loop-flatten",
"-Wl,-mllvm,-interleave-small-loop-scalar-reduction",
"-Wl,-mllvm,-unroll-runtime-multi-exit",
"-Wl,-mllvm,-aggressive-ext-opt",
"-mllvm:-extra-vectorizer-passes",
"-mllvm:-enable-cond-stores-vec",
"-mllvm:-slp-vectorize-hor-store",
"-mllvm:-enable-loopinterchange",
"-mllvm:-enable-loop-distribute",
"-mllvm:-enable-unroll-and-jam",
"-mllvm:-enable-loop-flatten",
"-mllvm:-interleave-small-loop-scalar-reduction",
"-mllvm:-unroll-runtime-multi-exit",
"-mllvm:-aggressive-ext-opt",
]
# /OPT:ICF is not desirable in Debug builds, since code-folding can result in