diff --git a/src/build/config/compiler/BUILD.gn b/src/build/config/compiler/BUILD.gn index 16da2452..bd013c8c 100644 --- a/src/build/config/compiler/BUILD.gn +++ b/src/build/config/compiler/BUILD.gn @@ -2016,6 +2016,11 @@ if (is_win) { "-mllvm", "-extra-vectorizer-passes", "-mllvm", "-enable-cond-stores-vec", "-mllvm", "-slp-vectorize-hor-store", + "-mllvm", "-adce-remove-loops", + "-mllvm", "-enable-cse-in-irtranslator", + "-mllvm", "-enable-cse-in-legalizer", + "-mllvm", "-scalar-evolution-use-expensive-range-sharpening", + "-mllvm", "-loop-rotate-multi", "-mllvm", "-enable-loopinterchange", "-mllvm", "-enable-loop-distribute", "-mllvm", "-enable-unroll-and-jam", @@ -2024,6 +2029,7 @@ if (is_win) { "-mllvm", "-unroll-runtime-multi-exit", "-mllvm", "-aggressive-ext-opt", "-mllvm", "-enable-interleaved-mem-accesses", + "-mllvm", "-enable-masked-interleaved-mem-accesses", "/O2", "/clang:-O3", "/clang:-mavx", @@ -2037,6 +2043,11 @@ if (is_win) { "-mllvm:-extra-vectorizer-passes", "-mllvm:-enable-cond-stores-vec", "-mllvm:-slp-vectorize-hor-store", + "-mllvm:-adce-remove-loops", + "-mllvm:-enable-cse-in-irtranslator", + "-mllvm:-enable-cse-in-legalizer", + "-mllvm:-scalar-evolution-use-expensive-range-sharpening", + "-mllvm:-loop-rotate-multi", "-mllvm:-enable-loopinterchange", "-mllvm:-enable-loop-distribute", "-mllvm:-enable-unroll-and-jam", @@ -2045,6 +2056,7 @@ if (is_win) { "-mllvm:-unroll-runtime-multi-exit", "-mllvm:-aggressive-ext-opt", "-mllvm:-enable-interleaved-mem-accesses", + "-mllvm:-enable-masked-interleaved-mem-accesses", ] # /OPT:ICF is not desirable in Debug builds, since code-folding can result in