[LLVMdev] how to do make a FP_ROUND need/operattion

Zhang, Kewu Kewu.Zhang at amd.com
Mon May 11 17:26:43 PDT 2015


Hi Guys,

I and trying to covert a float to a f16.
calling


 DAG.getNode(ISD::FP_ROUND, DL, Op->getValueType(0), FloatNode);


will get the error message:"Invalid method to make FP_ROUND node"


what is the "right" way to make this work?


best

Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150512/b09930e5/attachment.html>


More information about the llvm-dev mailing list