add more optimizations

This commit is contained in:
Alexander Frick 2023-02-22 05:02:31 -06:00
parent ee71252af2
commit b6da996103

View file

@ -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