<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/140095>140095</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[SPIRV][Vulkan] SPV_KHR_no_integer_wrap_decoration generated for Vulkan
</td>
</tr>
<tr>
<th>Labels</th>
<td>
backend:SPIR-V
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
llvm-beanz
</td>
</tr>
</table>
<pre>
LLVM is currently generating SPIRV with an OpExtension for SPV_KHR_no_integer_wrap_decoration when targeting Vulkan. This extension is not supported in the Vulkan SPIRV environment and causes spirv-val to fail.
Reproduction case: https://godbolt.org/z/oz7c644Ta
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMkT1v2zAQhn8NtRxsUKRoR4MGB67QoikaOIFXgx9niQ1NCiRlN_71hRS1BTp14sJ7773nkSnZziM2RDwSsS_kmPsQG-eul5VC6e-FCua9eXo6fgObQI8xos_uHTr0GGW2voOX5y-HI9xs7kF6-D58-pnRJxs8nEOEl-fj6evnw8mHk_UZO4ynW5TDyaAOU0DwcOvRQ5axwznvOLo36dfw2tsE-CfMJvAhQxqHIcSMBqyH3OPyfWmB_mpj8Bf0GaQ3oOWYMEEabLyurtJBDnCW1q0J3RG6O-AQgxn1XEPLhITvoM95SITvCGsJa7tgVHB5HWJHWHsnrA33rd5U1assTMNNzWtZYFNuqy1nG0rLom8oFUJvay1UzR_Uhsr6vDVMlA9Kc83PvLANo0xQUYpywygt15UUVGmNqDinm4qSiuJl6jmZmHYXNqURm7KitBaFkwpdmqUxpqR-Q28I300MVkfC2KTyt8WxS6Sizqac_qZlm90sfcZGxJ6Ixw-QROz_x9niH80s-WO0GKNr_qFncz-qtQ4Xwtpp-_Kshhh-oM6EtfNhibB2ue3asF8BAAD__82A3Rw">