diff --git a/builtins/target-generic-common.ll b/builtins/target-generic-common.ll index 6d4d2db6..50daf23e 100644 --- a/builtins/target-generic-common.ll +++ b/builtins/target-generic-common.ll @@ -249,7 +249,16 @@ declare void @__masked_store_32(* nocapture, , declare void @__masked_store_64(* nocapture, , %mask) nounwind -ifelse(LLVM_VERSION, `LLVM_3_1svn',` +ifelse(LLVM_VERSION, `LLVM_3_0', ` +declare void @__masked_store_blend_8(* nocapture, , + ) nounwind +declare void @__masked_store_blend_16(* nocapture, , + ) nounwind +declare void @__masked_store_blend_32(* nocapture, , + ) nounwind +declare void @__masked_store_blend_64(* nocapture, , + %mask) nounwind +', ` define void @__masked_store_blend_8(* nocapture, , ) nounwind alwaysinline { %v = load * %0 @@ -281,15 +290,6 @@ define void @__masked_store_blend_64(* nocapture, store %v1, * %0 ret void } -',` -declare void @__masked_store_blend_8(* nocapture, , - ) nounwind -declare void @__masked_store_blend_16(* nocapture, , - ) nounwind -declare void @__masked_store_blend_32(* nocapture, , - ) nounwind -declare void @__masked_store_blend_64(* nocapture, , - %mask) nounwind ') ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;