Skip to content

Commit

Permalink
Extend OmaxLTO options
Browse files Browse the repository at this point in the history
This patch modifies extends OmaxLTO to make use of extra
optimisation flags which affect LTO.

Change-Id: I4b652fc171e043af4143081f216403bd5b602b85
  • Loading branch information
nasherm committed Jan 8, 2025
1 parent 32e5201 commit 997ee1d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion OmaxLTO.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
-flto=full \
-fuse-linker-plugin \
-fvirtual-function-elimination \
-fwhole-program-vtables \
-Wl,-plugin-opt=-extra-LTO-loop-unroll=true
-Wl,-plugin-opt=-extra-LTO-loop-unroll=true \
-Wl,-plugin-opt=-inline-threshold=500 \
-Wl,-plugin-opt=-unroll-threshold=450 \
-Wl,-plugin-opt=-unroll-partial-threshold=450 \
-Wl,-plugin-opt=-unroll-max-iteration-count-to-analyze=20 \
-Wl,-plugin-opt=-lsr-complexity-limit=1073741823 \
-Wl,-plugin-opt=-force-attribute=main:norecurse \

0 comments on commit 997ee1d

Please sign in to comment.