search for: f_2_f16sr

Displaying 1 result from an estimated 1 matches for "f_2_f16sr".

2015 Feb 12
3
[LLVMdev] half to float intrinsic promotion
...bove. I am just trying to (1) convert the $src from f16 to f32 using FEXTsr. (2) use the F2Hsr to convert the f32 back to f16. for testing. however, I always got the error ” Type inference contradiction found, merging 'f32' into 'f16' def :Pat<( f16 (int_my_math_f16 f16:$src)), (F_2_F16sr (FEXTsr f16:$src) )>; “ Wondering what is the reason? I noticed that LLVM does not have the intrinsic type “LLVM_f16_ty”, so I always use “LLVM_float_ty” for it as long as it is a float or half. best Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: <h...