Skip to content

Commit 7db6e10

Browse files
authored
Extend OmaxLTO options (#623)
This patch extends OmaxLTO with extra flags
1 parent 20bce42 commit 7db6e10

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

OmaxLTO.cfg

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
-flto=full \
2+
-fuse-linker-plugin \
23
-fvirtual-function-elimination \
34
-fwhole-program-vtables \
4-
-Wl,-plugin-opt=-extra-LTO-loop-unroll=true
5+
-Wl,-plugin-opt=-extra-LTO-loop-unroll=true \
6+
-Wl,-plugin-opt=-inline-threshold=500 \
7+
-Wl,-plugin-opt=-unroll-threshold=450 \
8+
-Wl,-plugin-opt=-unroll-partial-threshold=450 \
9+
-Wl,-plugin-opt=-unroll-max-iteration-count-to-analyze=20 \
10+
-Wl,-plugin-opt=-lsr-complexity-limit=1073741823 \
11+
-Wl,-plugin-opt=-force-attribute=main:norecurse \
512

0 commit comments

Comments
 (0)