Skip to content

Commit 1cff514

Browse files
committed
Extend OmaxLTO options
This patch modifies extends OmaxLTO to make use of extra optimisation flags which affect LTO. Change-Id: I4b652fc171e043af4143081f216403bd5b602b85
1 parent 32e5201 commit 1cff514

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

OmaxLTO.cfg

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

0 commit comments

Comments
 (0)