<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 9/5/2017 4:01 AM, Jon Chesterfield
      via llvm-dev wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAOUYtQD9=NbtbA+KcfKJk5JnB_Z7RCx+_JvAUwCJ-g2ZvOf_eA@mail.gmail.com">
      <div dir="auto">
        <div class="gmail_quote" dir="auto">
          <blockquote class="quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="white" link="#0563C1" vlink="#954F72"
              lang="EN-GB">
              <div class="m_-7019580378187877429WordSection1">
                <p class="MsoNormal"><span style="font-size:11.0pt">Hi,</span></p>
                <p class="MsoNormal"><span style="font-size:11.0pt">There
                    are some generic DAGCombine functions which replace
                    an SDNode with a newly created but otherwise
                    equivalent SDNode. Specifically, visit for
                    SINT_TO_FP, UINT_TO_FP, FP_TO_SINT, FP_TO_UINT where
                    the operand is a constant. This unconditionally
                    prevents target specific dag combines from executing
                    for these nodes.</span></p>
              </div>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <br>
    If you want to materialize a floating-point constant using an
    integer-to-floating-point conversion, I would suggest using a
    target-specific node rather than a target-independent one.<br>
    <br>
    -Eli
    <pre class="moz-signature" cols="72">-- 
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project</pre>
  </body>
</html>