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

    <tr>
        <th>Summary</th>
        <td>
            [mlir][spirv] Disable wide bitwidth emulation in SPIR-V type converter
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            mlir:spirv
      </td>
    </tr>

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

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

<pre>
    SPIR-V type converter will try to emulate bitwidths not supported by the target environment if `emulateNon32BitScalarTypes` is true, this includes both smaller bitwidths and larger ones. For smaller ones it's fine, but for larger ones the logic is just plainly truncate and that's problematic. Now with @kuhar's work on wide bitwidth emulation we should disable emulating larger bitwidths in SPIR-V type converter and fix/add tests. To be clear, we should also rename the option to `emulateLT32BitScalarTypes` or something. 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1kk1vozAQhn8NXEZF1JAEDhz6oUiVVtVqG-3dhgHcGhvZQ7L59zumadNDKyFhe8bzPjOvlevOzcvvpz83f4HOM0Lr7BE9oYeTNgbIn4Ec4LQYSQhK00l3NAawjiAs8-w4twPFWSMCST8gAdqj9s5OaAl0D8k2v9x_drYQ95peWmmkP7Be4CDowDoLJuKBq_BG29YsHQZQjkYIkzSGea7a0nZgopQHZzFksHf-My2egKZE7AL02q5V1ULQc86XSyuvcYNuo_zrEghmI7U158hi29ht1KFRvteavVMGJ0m6zeDZnXg-DJeU-dsySr-mnJx_4-Ic6a6jusxOx3OEMLrFdNDpILnaR8wOH2jXJrWF732JVL3-l4i97JgPA_EEDg4UJxmMKA9flKQJDjxaOeHasptXFPb0asuvw3euxJm6CdkRO2SQYnO73RZVnVdVlXZN0dVFLVPSZLBJNveT0T7ZPPIqzNofeQmPlyZ_GsdPHaaLN81INIekuOM2-Rt41ovKWjfxxpjjx--GXXnFlh3a6xAWBhf7za6-3aUjE8oS82qrNn2t2mLXKrWtqr6UtxtR1nmZGqnQhAifCLHyF3fv8EIwf6obkQuR10KIYlOWVdb1lcj7bZvXfY8oCjafH4Q2WUTJnB9S36xUahkCB42O3nwGZQh6sIgXxcu7WaXkQqPzjbSk5cCvMFC69tOszfwHgdFBsw">