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

    <tr>
        <th>Summary</th>
        <td>
            [SPIR-V] Tracker for missing builtins in the SPIR-V backend
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:SPIR-V
      </td>
    </tr>

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

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

<pre>
    This issue and the following lists serves as a tracker for missing OpenCL/SPIR-V/... builtins discovered while testing the SPIR-V backend. The builtins will be incrementally implemented or fixed.

OpenCL:
- [ ] atomic_init()
- [ ] atomic_flag_test_and_set
- [ ] atomic_work_item_fence
- [ ] mem_fence(unsigned int)
- [ ] get_fence(void AS4*)
- [ ] wait_group_events(int, ocl_event AS4*)
- [ ] get_default_queue()
- [ ] get_image_num_mip_levels
- [ ] get_image_channel_data_type

SPIR-V:
- [ ] __spirv_Store(int*, int, int, int)
- [ ] __to_global
- [ ] __spirv_CreatePipeFromPipeStorage_write(__spirv_PipeStorage const AS1*)
- [ ] __get_kernel_work_group_size_impl

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx1VFFvmzAQ_jXwYhURh6TwwEPWKtKkSavWaq-WsQ-4xdjMNsm6Xz-b0KxqEwkw5r6777s7H42Rr_VLj46gcxMQriXxPZDWKGVOqDui0HlHHNgjOMLDRbzl4gA2YCwZgltEfR9BP3xL6P756euPu5_hJcsy0kyoPGpHJDphjmBBklOPCogH56Nf5Dq7kCZG1TIjL-HbxfOESpEGCGphYQDtuVKvBIdRzbsQMKho8Q_ILMkfk3x3fi561sv2jiSbL-F-JNybAQVDjT6hZUKrG4BW8Y5FlSyUhDnwN3AnYw8MPQysBS3gI2q4GGg5aYedDopR-yvEHfgL9GhQkt1zkdDdFeSJo2edNdPI4BiK4ILHHPOBGKHO3257Rx4JLZ-UZ78nmOB6HSIMB94B09PABhyZCoGVu40TPdcaFJPcc-ZfR3jfkOVcfG4IY25Ee2TP3lh4S2QXc1lSer98UsmYN6xTpuHqVuAHC9zDE46wt2aIa6SKgk82NC5QviHf2Ygw2sUirq4XkbGYd5iCmPB8Bs79cPgXWDydZ4cU6tV2WxRlXuZFKuu1rNYVTz16BXWItVQlBHy5MlSXIUB9ZVDSyaq69350sap0H64OfT81mTBD2Ch1fFvuRmt-gQgF3M9jHg7MflPm93na14JXebtZr0pRtlW13fB10WzythGylNU95aniTWh7VJtQunAHxrdBp0F9ijXNKc0rWq2qIuSbrXi5FfdtISUXeVXRpMhh4KiyKCcztkttPStrps4F4_yX-W_kbh4VWFjDoPVcjdz9PZiTO-DCyiffG1t_tKZzjvWc4D-9Koun">