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

    <tr>
        <th>Summary</th>
        <td>
            [CIR] Upstream support for calling lambda functions
        </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 calling lambda function in ClangIR.

### Suggested minimal test case
```
void fn() {
  auto a = [](){};
 a();
}
```

### Existing incubator tests
clang/test/CIR/CodeGen/lambda.cpp
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJyUUs2OnSAUfprjhoxBEL0uWDhzazOrJtP0ARCPXloEA2g7b9_gvW0zyyYnkPPDyfeDitEsDlGCeAZxLdSebj5I5ab3H-rd-lCMfnqXwPg9yJcDw2HwJ9D-2xZTQLWSuG-bD4nMPhCtrDVuIVat46TIvDudjHfEOPJilVte30qgfY6_K7_uy4Ix4URW48yqLEkYE9EqYp5r6CNof3gzkdkBuwDrCLTPQHtC1J48UQT4ldxZ3Pu53V6Bn0PqUTuzXP64-AOeT79MTJmDcXofVfLhBBSB9jpTADbkHNjw8vqWTz_hZ3TAhjvpUm9bMUk-dbxTBcqqFYJy2glR3CTrZpzHcW5pPeqmVrrGqqW80-10aRCrwkhGmaCXijHKhajLtm0aXXNFacWaC45QU1yVsaW1x1r6sBQmxh1lJTi78MKqEW08_WTsITkwls0NMj95GvclQk2tiSn-W5JMsuc3yKTElfyPu7HYg5W3lLYIvAc2ABsWk277WGq_ZmHs8ed62oL_jjrLd-KOwIYH9EOy3wEAAP__gSLHwQ">