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

    <tr>
        <th>Summary</th>
        <td>
            Broken intrinsic `llvm.ppc.cfence.p0sl_s` generated
        </td>
    </tr>

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

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

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

<pre>
    ```
; ModuleID = 'bugpoint-reduced-simplified.bc'
source_filename = "text"
target datalayout = "e-m:e-i64:64-n32:64-S128-v256:256:256-v512:512:512"
target triple = "powerpc64le-unknown-linux-gnu"

define hidden void @julia_YY.9_25528() #0 {
top:
  br i1 undef, label %err86, label %pass9

pass9:                                            ; preds = %top
  %0 = load atomic {}*, {}** undef acquire, align 8
  unreachable

err86:                                            ; preds = %top
  unreachable
}

attributes #0 = { "target-features" }

!llvm.module.flags = !{!0}

!0 = !{i32 2, !"Debug Info Version", i32 3}
```

llc 13&14 fails with: 

```
Intrinsic has incorrect argument type!
void ({}*)* @llvm.ppc.cfence.p0sl_s
in function julia_YY.9_25528
LLVM ERROR: Broken function found, compilation aborted!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: usr/tools/llc as0.ll
1.      Running pass 'Function Pass Manager' on module 'as0.ll'.
2.      Running pass 'Module Verifier' on function '@julia_YY.9_25528'
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytVNtu4zgM_RrnRXBgy7ETP_ghnbRAgRYbtMAA81TIMu1oKkteXdLp3y9lO5e2M8BisYEjWxRJHZKHrHXzXkVFMj_JLkq2UXZDHnXjJdzvSJThn65r3w1aKBcbaDyHJraiH6RoBTTLmqPCZGq1NxxeWiFBsR5ma-rgl8PXpOOY6cCRhjkm2bv27qQFcR9lW4hFscJ3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