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

    <tr>
        <th>Summary</th>
        <td>
            [PowerPC] `ca` is not supported in clobber list of inline assembly
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            backend:PowerPC
      </td>
    </tr>

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

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

<pre>
    For following code
```
int foo(int x, int y) {
  int res;
  __asm__ volatile(
      "addc %[res], %[x], %[y]\n\t"
      "mcrxrx 0\n\t"
      : [res]"=b"(res)
      : [x]"b"(x), [y]"b"(y)
 : "xer", "ca"
  );
  return res;
}
```
Current clang is unable to compile. See https://godbolt.org/z/fz3o51xTn.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx0UsuOqzgQ_ZpiY3VkijjAgkU6GdYtzewj2xSJZ4ydsU036a-_Mp1-XfVFSK7HOfU4KhmjOTuiDsQjIKrXv_4HRBDHQs7p4kOXI4Xyw63rfWCjt9a_GHdm2g8E_Ah8Dzt-_1fXuMRG7wGbbC2AB5aNG2DLoH58A7E1FihC9RE5nWScTif27K1MxhJg857KHyDKYdAMUIB4zFRxzMXf_OWbd8ueODgQh5TX-V5m0mEJC-N_QlR79qUDQnVU-cEmh7D9AfvWHe-wJYPyLPdBPhK3T_ZKRFworKk8OGr5ZZIM_dQmUJqD-yYY1Mcf9T_MIZBLTFvpzsxENjupLLHkmfbT1VjasL-J2CWla4RqD9gD9mc_KG_TxoczYP8K2I-vlRfl8o_bFENXDW3VyoK6subbRuzKeltcuqYWZYO7GkfdjiRF0447OQgutKobHKgwHXLc8rLkvOJtVW3ahjdVWZLeSSUUcthymqSxG2ufp9y8MDHO1NW12LaFlYpsfD9Nqf8jN0C1f_IvFJ4O9zsNXeY-qPkcYcutiSl-Vksm2fW23zniyGDHtYQdz9o4n1icr1cfEg3MOKatV4oCy3WYH5lx1jhiMkaalL0Vc7Ddb8qZdJnVRvsJsM-N78_DNfh_SSfAft0pAvbrWr8CAAD__3j--UM">