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

    <tr>
        <th>Summary</th>
        <td>
            [CIR] Upstream handling of integral-to-pointer casts
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            good first issue,
            ClangIR
      </td>
    </tr>

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

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

<pre>
    ### Overview
Upstream support for handling integral-to-pointer casts in ClangIR.

### Suggested minimal test case
```
void f(long int start) {
  void *p = (void*)start;
}
```

### Existing incubator tests
clang/test/CIR/CodeGen/cast.cpp

</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJx0UsGumzAQ_JrlYgWZBRM4-MBLSvVOlV7VDzB4Q9wajGyTNn9fmUSpWqnSCrTWeHbGsyoEMy1EEsQbiHOmtnh1XqpF33-ou3U-G5y-S8DyUezLjfzN0E_g3bc1RE9qZmFbV-cjuzjPrmrR1iwTM0ukySt7iO6wutR5NqoQAzMLO1m1TO8fOfAu1Yv96zZNFCJpNpvFzMqySCGme5RwNX8W727OaHYBbKx7DGMhKh8BWwbHN-AdYzsEsFsZlGcG2KQDwA6wfWDLhIPj-R_qvxR9-mVCfPgZt0FF53dJAXg3JhOAfeoB-9P7R_o6TZ9pAeyT2XxcV-BdpmWp27JVGcniKARy3og6u8qR6qGtalUfCz0IzVuOw0WgGgSWWJDKjESOgjdFVbTVsaxzTSUpbBo1VgUJKqDiNCtjc2tvc-78lJkQNpKFKGvRZFYNZMOeLuLknGYX40NkOwgQAU-A-Iwj9eKceZm4DsM2Bai4NSGGP-zRRLtvS7Irzuy1BK_g3eX_2Webt_Ia4xqg7AB7wH4y8boN-ehmwD6Nef4Oq3ffaUwvu4sNgP3T1E3i7wAAAP__Xs7ZUw">