Mark __any(), __all(), and __none() as internal after they're linked in.

This fixes multiple symbol definition errors when compiling a single binary
for multiple ISA targets.
This commit is contained in:
Matt Pharr
2012-09-14 13:32:42 -07:00
parent 05a5a42a08
commit 59b0a2b208

View File

@@ -322,6 +322,8 @@ lSetInternalFunctions(llvm::Module *module) {
"__add_varying_double",
"__add_varying_int32",
"__add_varying_int64",
"__all",
"__any",
"__aos_to_soa3_float",
"__aos_to_soa3_float16",
"__aos_to_soa3_float4",
@@ -465,6 +467,7 @@ lSetInternalFunctions(llvm::Module *module) {
"__new_uniform",
"__new_varying32",
"__new_varying64",
"__none",
"__num_cores",
"__packed_load_active",
"__packed_store_active",