Remove unused __reduce_add_uint{32,64} target functions.

The stdilb code just calls the signed int{32,64} functions,
which gives the right result for the unsigned case anyway.
The various targets didn't consistently define the unsigned
variants in any case.
This commit is contained in:
Matt Pharr
2012-09-28 05:55:41 -07:00
parent 538d51cbfe
commit 6412876f64
10 changed files with 4 additions and 53 deletions

View File

@@ -334,18 +334,13 @@ define i32 @__reduce_max_int32(<4 x i32>) nounwind readnone {
reduce4(i32, @__max_varying_int32, @__max_uniform_int32)
}
define i32 @__reduce_add_uint32(<4 x i32> %v) nounwind readnone {
%r = call i32 @__reduce_add_int32(<4 x i32> %v)
ret i32 %r
}
define i32 @__reduce_min_uint32(<4 x i32>) nounwind readnone {
reduce4(i32, @__min_varying_uint32, @__min_uniform_uint32)
}
define i32 @__reduce_max_uint32(<4 x i32>) nounwind readnone {
reduce4(i32, @__max_varying_uint32, @__max_uniform_uint32)
}
}
define double @__reduce_add_double(<4 x double>) nounwind readnone {