Skip to content

Commit

Permalink
Extend OmaxLTO options (#623)
Browse files Browse the repository at this point in the history
This patch extends OmaxLTO with extra flags
  • Loading branch information
nasherm authored Jan 9, 2025
1 parent 20bce42 commit 7db6e10
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 7db6e10

Please sign in to comment.