info on tuning SPEC's libquantum


I am trying to tune flags for SPEC2006’s libquantum.

I am looking for a set of flags that I can use to start with. I found this thread:

Are there flags other than:

-mllvm -vectorize-num-stores-pred=1 -mllvm enable-loadstore-runtime-unroll -mllvm -enable-ind-var-reg-heur

I think I need to use -O3 -flto -emit-llvm with the compile command and -flto -O3 at linking, to enable LTO.

Appreciate pointers on other SPEC INT programs