mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-09 19:37:30 -03:00
add more optimizations
This commit is contained in:
parent
ee71252af2
commit
b6da996103
1 changed files with 12 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue