<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55736>55736</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llc Deadlock
</td>
</tr>
<tr>
<th>Labels</th>
<td>
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
AnFunctionArray
</td>
</tr>
</table>
<pre>
If wondering this happened while testing out yarpgen with my own frontend. - other compiles work fine but this specific ones hangs seemingly forever.
`llc --version`
```
LLVM (http://llvm.org/):
LLVM version 15.0.0git
Optimized build.
Default target: arm64-apple-darwin21.5.0
Host CPU: apple-m1
Registered Targets:
aarch64 - AArch64 (little endian)
aarch64_32 - AArch64 (little endian ILP32)
aarch64_be - AArch64 (big endian)
amdgcn - AMD GCN GPUs
arm - ARM
arm64 - ARM64 (little endian)
arm64_32 - ARM64 (little endian ILP32)
armeb - ARM (big endian)
avr - Atmel AVR Microcontroller
bpf - BPF (host endian)
bpfeb - BPF (big endian)
bpfel - BPF (little endian)
hexagon - Hexagon
lanai - Lanai
mips - MIPS (32-bit big endian)
mips64 - MIPS (64-bit big endian)
mips64el - MIPS (64-bit little endian)
mipsel - MIPS (32-bit little endian)
msp430 - MSP430 [experimental]
nvptx - NVIDIA PTX 32-bit
nvptx64 - NVIDIA PTX 64-bit
ppc32 - PowerPC 32
ppc32le - PowerPC 32 LE
ppc64 - PowerPC 64
ppc64le - PowerPC 64 LE
r600 - AMD GPUs HD2XXX-HD6XXX
riscv32 - 32-bit RISC-V
riscv64 - 64-bit RISC-V
sparc - Sparc
sparcel - Sparc LE
sparcv9 - Sparc V9
systemz - SystemZ
thumb - Thumb
thumbeb - Thumb (big endian)
ve - VE
wasm32 - WebAssembly 32-bit
wasm64 - WebAssembly 64-bit
x86 - 32-bit X86: Pentium-Pro and above
x86-64 - 64-bit X86: EM64T and AMD64
xcore - XCore
```
The following command on my Mac air:
`/usr/local/bin/llc -filetype=obj -o ./func.o ./func.pp.ll`
func.pp.ll (content):
(uploaded to file due to message body being too long
[func.pp.ll.log](https://github.com/llvm/llvm-project/files/8787917/func.pp.ll.log)
)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyVVltv4jgU_jXwcpQoJBDggQdaplOkMovaDov2ZeUkJvGMY0e2A2V-_R6HhIRM29EiRHL4vnP15ZxIJufF-gAnKRKqmEjBZExDRoqCCprAKWOcgqHaWEyWBs5EFSkVcGImg_wM8iTgoKQwVCQuOCBNRhXEMi9QU6Nh9RMOTFCIULkyrgsaswOLQQpqXYkU_6M0Rw_8DAep6JEqd-CtBt6y_g09zmNwHAQ0kwLlHlx_K_HpabeBgT_LjCkGwXLgP-CX82PuSpVW0tz-XXEBKnZtF0YT13O9lJkG_aswLGe_sBJRyXjiNv-v6IGUHBMiKqUGzQFReTh2sG6cOglRJyb8kYvmGo1HqQ3cb79X3IqVj7pJADzTlGlDFTp7rczqTpgAhKg4C8f21YHl8iJgmpwZg2uE5WdE2Nz6Gv8G_icasH7aBv67ehG91YtY-q6bPEljAXVgmxV8vf8GX7ffdYeicqg_SHne3CCXnGrkjzlZvs3oY_57GamcRh0vn2VzVJ1QTU45LHfPsGGxkjFucyU5p6rlR8Wh5d9tH6qdZ9f6HdvIbcOouR-EYam8R_24Khl9I6kUF_bjRWhRTgRhja0nK7RYzgp9DX-z3r5YR4HvRMzAB6FZlXrNWhXc-39UqRL6TeXjrKxWXYTfYvtESxfjwGu0XrZWGEzu6FuBF1xOhSF8MFm1fHEszFtTgW-79Wq9hO3rHi6Oerzm_HV4lzRaXlHE1faseFt5omp7j8Z6BIy9R4CnLzec9lg0nHDcI_SNoErXiAo9r93K9mDioYTHlb_f753HVYiPDpnp-HgJ3Klzh-f1y72z63GaEtTL1-foAm-PxumLFXrYZUVr7CbeCj7Ou_Cus7D6jLdj_quGK-GfFjVZmV_P1qsVetjl5NXYJyfvSJvzjORdJ7wT0Xm9sg78TaOl1jSPsGX1d4olXg9Il9j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