<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;"><font size="3">Hi Guys, </font>
<div><font size="3"><br>
</font></div>
<div><font size="3">I and trying to covert a float to a f16.</font></div>
<div><font size="3">calling </font></div>
<div><font size="3"><br>
</font></div>
<div>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3"> DAG.getNode(ISD::FP_ROUND, DL, Op->getValueType(0), FloatNode);</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3"><br>
</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3">will get the error message:"Invalid method to make FP_ROUND node"</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3"><br>
</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3">what is the "right" way to make this work?</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3"><br>
</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3">best</font></p>
<p style="margin-right: 0px; margin-left: 0px; font-family: Menlo;"><font size="3">Kevin</font></p>
</div>
</div>
</body>
</html>