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

    <tr>
        <th>Summary</th>
        <td>
            [VE] Implement isIntDivCheap hook if div by constant optimization from D150333 is not desired
        </td>
    </tr>

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

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

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

<pre>
    D150333 enabled div by constant for some scalar types. I'm not sure if this is desired for VE or not. It can be disabled by returning true from the `isIntDivCheap` hook.

CC @jam7 

I don't see a label for VE backend.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxckc2O4yAQhJ8GX1pjYRzscPBhNplIeYG5Y9OJmeHHottZZZ9-FWdG-3MBCSi6qj5L5K8JcRD6h9DHyq485zJwXhYsUzVmdx-OjZZt2wImOwZ04PwNxjtMORHbxHDJBShHBJpssAX4viDVcBaqj5AyA60FwV-AZ0_gCRySL-g24fsb5PJ4VcOZYbIJRgTn6TlqvENBXkvy6QpcVoRLyRF4RhCd9HROfPS3w4x2EZ2EOefPWsijkK_P9XAAsZMfNvbw9_EZXE5C9QyECBaCHTF82xnt9InJ1ZUbWmdaYyscmm7fGtn3xlTzoHpjlBwVOmv1pTHTpUG73zWum1prrK78oKRqpW5U00mjTd077Hq963qjm77RjdhJjNaHOoRbrHO5Vp5oxaFT3V5VmxvaiCiV8Cdsl0KpB6AyPDQv43olsZPBE9OfX9hz2FC-vwl9hHNcAkZMDP80tdX04PE_yLywj_6XZZ_Ts-hv9J42kF_gqrWEYWZeSLSvQp2EOl09z-tYTzkKdXr4-dpelpI_cGKhTlsKEuq0pfwdAAD__-EIy9M">