We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ac9fd commit 720d78fCopy full SHA for 720d78f
lib/CMakeLists.txt
@@ -136,7 +136,9 @@ endif()
136
endif()
137
138
# random things to experiment
139
+if(CMAKE_C_COMPILER_ID MATCHES "Clang")
140
target_compile_options(toywasm-lib-core PUBLIC "SHELL:-Xclang -fmerge-functions" "SHELL:-mllvm -mergefunc-use-aliases")
141
+endif()
142
#target_compile_options(toywasm-lib-core PUBLIC "SHELL:-mllvm -enable-machine-outliner")
143
#target_compile_options(toywasm-lib-core PUBLIC "SHELL:-mllvm -hot-cold-split")
144
#target_compile_options(toywasm-lib-core PUBLIC "SHELL:-mllvm --enable-gvn-hoist")
0 commit comments