From 59b0a2b208ffe6201e8c7a81e0b120290ed7becc Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Fri, 14 Sep 2012 13:32:42 -0700 Subject: [PATCH] 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. --- builtins.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builtins.cpp b/builtins.cpp index e75f2107..81a9a64b 100644 --- a/builtins.cpp +++ b/builtins.cpp @@ -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",