From d9c0f9315ac0aae840d0dacb357306023a68cd3c Mon Sep 17 00:00:00 2001 From: Matt Pharr Date: Fri, 27 Jan 2012 13:02:03 -0800 Subject: [PATCH] Fix generic targets: half conversion functions weren't declared. (Broken by 1867b5b31). --- builtins/target-generic-common.ll | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/builtins/target-generic-common.ll b/builtins/target-generic-common.ll index 6e280ba6..e4c70aa4 100644 --- a/builtins/target-generic-common.ll +++ b/builtins/target-generic-common.ll @@ -98,6 +98,14 @@ declare void @__aos_to_soa4_float(float * noalias %p, * noalias * noalias %out2, * noalias %out3) nounwind +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; half conversion routines + +declare float @__half_to_float_uniform(i16 %v) nounwind readnone +declare @__half_to_float_varying( %v) nounwind readnone +declare i16 @__float_to_half_uniform(float %v) nounwind readnone +declare @__float_to_half_varying( %v) nounwind readnone + ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; math