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

    <tr>
        <th>Summary</th>
        <td>
            `BinaryOperator::swapOperands` comment is out of date in implementation
        </td>
    </tr>

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

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

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

<pre>
    Looks like maybe it used to change opcodes at some point in the past, but no longer does?

https://github.com/llvm/llvm-project/blob/070e12930489c58d0fed4daadddea229384401d7/llvm/lib/IR/Instructions.cpp#L2703-L2712

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUkc2K3DAQhJ9Gvogd5Jb8d9BhNsEQWAjkDWSpZ6ys7Dbu9i7z9sFDQnLNRYIuuqiuLzDn-4roVfOqmq9VOGSm3XMkkSUu1UTp4d-I3lmX_I56CY8JdRZ9MCYtpOMc1jtq2iIlZB1EMy2oN8qr6LxqmVFvgUXBFz0dolfShdY77joRsrKjMldlrrPIxspeFYwKxnuW-ZgukRYFYykff76XbaefGEXBOBWaFIymM1jDYI3rh9j0ydwwuRRCSgkDwGB750ydun988rn37cf5rCz7ESXType4bQrsG3TGvrxBV4My1yp5mwY7hAp93dm-sc7aupp9NEO62aYLqW_bpgtdizA0zqQ-9cPUuCp7MNAYMABQQ11fXGzD0Jm2sd00ObwpZ3AJuVzOWBfa71VmPtDX0DjbVyVMWPhJBWDFT_1UFcAJaffPMqbjzsqZkln4r41kKehVa17zGvbH9w33ILSf3dorf4btOVkTq9boSMuCJyjWdIimm05B8OSWl63gqYWznurYi_9vRs_MrGD8fdSHh18BAAD__5aEx34">