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

    <tr>
        <th>Summary</th>
        <td>
            [CIR] Upstream compare expression support
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

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

<pre>
    ### Overview
Upstream support for compare expressions and the cir.cmp operation.

### Suggested minimal test case
```
bool f(int a, int b) {
  return a > b;
}
```

### Existing incubator tests
clang/test/CIR/CodeGen/cmp.cpp
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxkktuO2ywUhZ9m-2ZrLLyxk_jCF56Df_1XlVr1ATDecWgxIMCZmbevSNOp2kpLnFks-FApmdUxD9A9QvdcqT1ffByUW96_q3frYzX75X0Akj-Fn64cr4ZfQYxfQ8qR1YZpD8HHjGcfUfstqMjIbyFySsa7hMotmC-M2sRabwF94Kiy8a4GMRZ9uH_Z15VT5gU348ymLGZOGbVKXNYdxF1inL23eAY6GZdRAT1hacxAPcLxEcSIGDnv0aFCkC84gyyjcHz-y-iP81_eTMrGrWic3meVfbwFSCBGbZVbgabSB5qe_v9cSr_wf-yAJr2FWodQLYNcetmriofm2DZSiFPfVJfheKJFUaeoa49Nt5xZLgchz33X6L5Tna7MQII6IcWBqG1kUys-t9SehNaH7qRJQyt4U8bW1l632se1MintPDRSNP2hsmpmm24ciRy_4m0WiArWOJRND_O-JmiFNSmn3zbZZHv7AOVO3TN-cP2X5S_U1R7tcMk5JJAj0AQ0rSZf9rnWfgOaive9egjRf2Nd3uyWKAFN98jXgX4EAAD__xB7x6Y">