Add a number of symbol names to list to make internal after loading builtins.

Fixes issue #131; because they weren't being marked as internal before, when
compiling to multiple targets these would lead to multiply-defined symbols.
This commit is contained in:
Matt Pharr
2011-12-07 08:30:38 -08:00
parent eaaebf7928
commit a79bc75b72
5 changed files with 14 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ define float @__reduce_max_float(<8 x float>) nounwind readnone alwaysinline {
; helper function for reduce_add_int32
define <4 x i32> @__vec4_add_int32(<4 x i32> %v0,
<4 x i32> %v1) nounwind readnone alwaysinline {
<4 x i32> %v1) nounwind readnone alwaysinline {
%v = add <4 x i32> %v0, %v1
ret <4 x i32> %v
}