diff --git a/src/build/config/compiler/BUILD.gn b/src/build/config/compiler/BUILD.gn index 6234c9dc..16da2452 100644 --- a/src/build/config/compiler/BUILD.gn +++ b/src/build/config/compiler/BUILD.gn @@ -2067,6 +2067,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", @@ -2075,6 +2080,7 @@ if (is_win) { "-mllvm", "-unroll-runtime-multi-exit", "-mllvm", "-aggressive-ext-opt", "-mllvm", "-enable-interleaved-mem-accesses", + "-mllvm", "-enable-masked-interleaved-mem-accesses", "-O3", ] @@ -2082,6 +2088,11 @@ if (is_win) { "-Wl,-mllvm,-extra-vectorizer-passes", "-Wl,-mllvm,-enable-cond-stores-vec", "-Wl,-mllvm,-slp-vectorize-hor-store", + "-Wl,-mllvm,-adce-remove-loops", + "-Wl,-mllvm,-enable-cse-in-irtranslator", + "-Wl,-mllvm,-enable-cse-in-legalizer", + "-Wl,-mllvm,-scalar-evolution-use-expensive-range-sharpening", + "-Wl,-mllvm,-loop-rotate-multi", "-Wl,-mllvm,-enable-loopinterchange", "-Wl,-mllvm,-enable-loop-distribute", "-Wl,-mllvm,-enable-unroll-and-jam", @@ -2090,6 +2101,7 @@ if (is_win) { "-Wl,-mllvm,-unroll-runtime-multi-exit", "-Wl,-mllvm,-aggressive-ext-opt", "-Wl,-mllvm,-enable-interleaved-mem-accesses", + "-Wl,-mllvm,-enable-masked-interleaved-mem-accesses", "-Wl,-O3", ]