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

    <tr>
        <th>Summary</th>
        <td>
            [SPIRV] Add pre legalizer instCombine for GL\CL extentions
        </td>
    </tr>

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

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

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

<pre>
    We will want to be able to change length(A-B) to distance(A,B) so that  we use the right spirv extension function. 
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxEkE2r2zwQhX-NvBli7PFXtNAiNxe_vHAXpYV2LdljS0WRgjRO2vvri1NDVzOcw3ycR-fs1kCkRPcmEBedPmPwAlF074Xe2MakDrEwcf6tfhA8nffw1IGBIxgCbTzt7WR1WAk8hZWtwPPl9CZQ7s7sMusw0S4KvL7kHIGtZoAnwZYJ2BIkt1qGfHfpAfSLKWQXAyxbmNjFUEIxq2aWjdQFqXpo-kG2VYeFVbOWg6HatF3V4LyQnJZKtrpvTCeHcysLp7DCrqrrpj63Q4OlrmrSDUmJ_dT3bS3aim7a-dL7x62MaS1czhupGnHo-8JrQz4flAI94eUenJLah05mW7NoK-8y539r2LF_4f325f-v30X3Dpd5hnvaQa3au09K4ELma7wZFwiWmOC_D9Fdrx9_GezRc7ElryzzPYvmInAUOK6O7WbKKd4Ejvu5o5zuKf6kiQWOryezwPFI8VD4JwAA__8eg59F">