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

    <tr>
        <th>Summary</th>
        <td>
            [PowerPC] Attribute 'signext' applied to incompatible type!
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:codegen
      </td>
    </tr>

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

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

<pre>
    $ cat test.c
```
typedef union foo {
  int i;
} foo_t __attribute__((transparent_union));

void test(foo_t a) {
}
```

$ clang -target powerpc64le-linux -S -o - -emit-llvm test.c
Attribute 'signext' applied to incompatible type!
ptr @test
fatal error: error in backend: Broken module found, compilation aborted!
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycUsGOozwMfhpzsaiCgYYeOHSm6nmk_wGqkLg0_6QJCmZ25u1X0O6OVtrTSpbBTmx_3xebefZjZO6hfYH2VJhFbin35mbERPNeDMl99UANWiMoPMvOgjqBOsJePW0L5Wtix1dcok8Rrykh6JfHEaKPgh7qZwz6tF64CF4uRiT7YRG-XIA6oE6yifNkMke5bL2ADqv9Lt78R_JuQwPUPVoZoMP3SNCnv6J8-pVOMHHEUkweWXBKPzhPdt8ELoOPyyeW_2GZsMSS717KED7uf7A__sKNQHpT8FOANJppCp4dSkIfbbpPRvwQGFd5gKpH8SQZoVEb_i1xNWICcs4pQ318_KCPOBj7ztGtuZec3jniPbklMF7TEh3QK64jfDCyim6GlIUdUFW4vnaH-mAK7iutGmq02nfFrR_IUtO4ynaVI9eZdnADKeW4a5qD0lXhe1LUqErVqmp10-26oW3r2torVbqyWkOj-G582K2S7FIeCz_PC_d6r3VdBDNwmLddItokhvpok-ORIxCtC5b7tbIclnGGRgU_y_zdS7yEbRXf1gd5e4X2hP8odbHk0N9EphnqI9AZ6Dx6uS3DzqY70Hmd-fyUU07_sxWg80ZmBjpvfH4GAAD__xII99E">