<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/55737>55737</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
llc Crash
</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>
And similar story when I tried compiling the driver: (linked to this one https://github.com/llvm/llvm-project/issues/55736)
```
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/local/bin/llc -filetype=obj -o ./func.o ./driver.pp.ll
1. Running pass 'Function Pass Manager' on module './driver.pp.ll'.
2. Running pass 'AArch64 Instruction Selection' on function '@init'
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 llc 0x0000000104437db4 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 llc 0x0000000104436f58 llvm::sys::RunSignalHandlers() + 112
2 llc 0x00000001044383fc SignalHandler(int) + 304
3 libsystem_platform.dylib 0x0000000181ca74a4 _sigtramp + 56
4 llc 0x00000001042e1428 llvm::SelectionDAG::ReplaceAllUsesWith(llvm::SDNode*, llvm::SDValue const*) + 304
5 llc 0x00000001041638d0 (anonymous namespace)::DAGCombiner::CombineTo(llvm::SDNode*, llvm::SDValue const*, unsigned int, bool) + 84
6 llc 0x000000010419568c (anonymous namespace)::DAGCombiner::visitLOAD(llvm::SDNode*) + 1428
7 llc 0x00000001041670ac (anonymous namespace)::DAGCombiner::visit(llvm::SDNode*) + 5820
8 llc 0x0000000104164ff0 (anonymous namespace)::DAGCombiner::combine(llvm::SDNode*) + 192
9 llc 0x0000000104164554 llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AAResults*, llvm::CodeGenOpt::Level) + 1516
10 llc 0x00000001042f467c llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 132
11 llc 0x00000001042f4094 llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 4436
12 llc 0x00000001042f2494 llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 2308
13 llc 0x0000000103b26ca8 llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 304
14 llc 0x0000000103e82fa8 llvm::FPPassManager::runOnFunction(llvm::Function&) + 672
15 llc 0x0000000103e88560 llvm::FPPassManager::runOnModule(llvm::Module&) + 60
16 llc 0x0000000103e834b8 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 840
17 llc 0x00000001029fe500 main + 6992
18 dyld 0x00000001088e908c start + 520
zsh: segmentation fault /usr/local/bin/llc -filetype=obj -o ./func.o ./driver.pp.ll
```
[driver.pp.ll.log](https://github.com/llvm/llvm-project/files/8787932/driver.pp.ll.log)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJytV9tu2zgQ_Rr7hYhB3aUHPyhO0gZwNkad7WL3JaAkymZDkQJJuet-fYe6xHbqpEp2DcPmRZo5M3NmOMxksZ-nokCaVYwThbSRao--b6lAt8goRguUy6pmnIkNMluKCsV2VE28FE3cGFaf4AkjYYtpJAVFW2NqDdsT9wa-G2a2TTYDETDhfDf8XdRKfqO5gSnTuqEaBkEQeeHETSb4aoLTk98Q9992ulpep-trpJusYgYRlDUbpGgtlbFIPg4AEXAEEzlvCtramiuitygj-ZNRJKezTv3awAIqmqq2WtolDFvJSsmNIhUiatNUVBjdOemm0coqlTnh8J8x0ULI0UXJODX7mk68K5l9QxcSzWCrbEQ-64adr2d1PeO8U-RYRV8aIWw4aqI1KIhu4A3DpEAru3BHBNlAhNwI4oEqWTSc2qd-EWiXWqHuOaFpqvJt6KNboY1qOvlrymk76oWXg2KYT3zMBDN29MJL6DvEQDYG6X2VSY4EqahVEVOhG0XRXjZoS3YUtXHpHmI_qIJQ2D2FVunDZySBm9S0YaFix5QU1sdoB5wFYiyXX-8e13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