<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/137685>137685</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [DirectX] Move FNeg legalization to the DXILLegalization pass
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          bogner
      </td>
    </tr>
</table>

<pre>
    Currently DXILPrepare legalizes the FNeg instruction into an FSub. This isn't the right place for that and we should move it to DXILLegalization instead.
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkkE2LFDEQhn9N-lJsk6Q_95CDOjQIqwh62GvSXdOJZJIhVZll_fUy7YCCpxxS9b71PJYo7AnRiOGjGE6NrexzMS7vCUvj8vZuPtVSMHF8h9Pr55dvBa-2IETcbQy_kIA9wvIVdwiJuNSVQ04QEmewCZbv1bXwwweCQEnoiY_5EnbPcI12RTjnAuwtg00bvCGQzzVucMk3hMDA-eh9-dNnH-nEaLe22Uy3PXfPtkGjpn6Yx6EfVOPN2PXjhEqqaVPWzd0srZR2dePkVoU4NMFoqQfZ61nN3dSp9tzj-TzPI8pZaqVQ9BIvNsQ2xtulzWVvAlFFo7ppnIcmWoeRDmtaJ3yD41dofZdYzH3pydWdRC9jIKa_MRw4HrpPoeDKr2I4wZc76-Ew_ovJ-ZD1H_7VEjW1ROOZryS6D0IvQi97YF9du-aL0Mu97_E8XUv-iSsLvRxXktDLA-Nm9O8AAAD__xwHqb8">