<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/132487>132487</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[CIR] Upstream function call support
</td>
</tr>
<tr>
<th>Labels</th>
<td>
ClangIR
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
andykaylor
</td>
</tr>
</table>
<pre>
### Overview
Upstream support for call statments expressions and the cir.call operation.
### Suggested minimal test case
```
void f1();
void f2() {
f1();
}
```
### Existing incubator tests
clang/test/CIR/CodeGen/call.cpp
clang/test/CIR/CodeGen/call.c
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyMUsGOmzAQ_ZrhYi0y4xDgwIHdLVVPlVr1AwyeELfGRh6T7v595SRK1T1VGoE8en7vjedpZrt4oh7qZ6hfC72nc4i99ub9l353IRZTMO89oLqV-HqheLH0G-TwY-MUSa-C920LMYlTiGLWzglOOq3kEwt62yIx2-BZaG9EOpOYbSyvsLBR1MkGX4Iccj1Uvu_LQpzIiNV6u2onEnESs2bKuKO8lxwuwRpxqgBbwA7U86OFt5aAJvc-QKB5_cDzj_ynN8vJ-kVYP--TTiFe9RnkMDvtF8AxnwHHly_f8jcY-kwecMxzlfO2_S8S5FCYXplOdbqgvmoOWHdtW9XFuT_MejLHrjtVsqvl3BmD3VRjUyE1qlXHwvYosZYKK1SVUnXZ0SRVRbozejqqFuEgadXWlc5d1jLEpbDMO_WVwkPbFE5P5Pi6esSXbDd7xJyD2OcrT9O-MByks5z4L0myyV0Tk2eqX8UjCKfdz3mf9xTcYlHs0fXnlDYGNQCOgONi03mfyjmsgGOmvf-ethh-0pyf62qUAce710uPfwIAAP__gRzSVg">