File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 6161ifeq ($(CORE), SKYLAKEX)
6262ifndef NO_AVX512
6363CCOMMON_OPT += -march=skylake-avx512
64+ ifeq ($(C_COMPILER), CLANG)
65+ CCOMMON_OPT += -mllvm -exhaustive-register-search
66+ endif
6467ifneq ($(F_COMPILER), NAG)
6568FCOMMON_OPT += -march=skylake-avx512
6669endif
@@ -93,6 +96,7 @@ ifeq ($(C_COMPILER), GCC)
9396 endif
9497 endif
9598else ifeq ($(C_COMPILER), CLANG)
99+ CCOMMON_OPT += -mllvm -exhaustive-register-search
96100 # cooperlake support was added in clang 9
97101 ifeq ($(CLANGVERSIONGTEQ9), 1)
98102 CCOMMON_OPT += -march=cooperlake
@@ -135,6 +139,7 @@ ifeq ($(C_COMPILER), GCC)
135139 endif
136140 endif
137141else ifeq ($(C_COMPILER), CLANG)
142+ CCOMMON_OPT += -mllvm -exhaustive-register-search
138143 # sapphire rapids support was added in clang 12
139144 ifeq ($(CLANGVERSIONGTEQ12), 1)
140145 CCOMMON_OPT += -march=sapphirerapids
You can’t perform that action at this time.
0 commit comments