<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/116767>116767</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
LLVM ERROR: Do not know how to split this operator's operand
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
abhishek-kaushik22
</td>
</tr>
</table>
<pre>
Compiler Explorer: https://godbolt.org/z/s5rzrox6M
```
LLVM ERROR: Do not know how to split this operator's operand!
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0. Program arguments: /opt/compiler-explorer/clang-trunk/bin/llc -o /app/output.s -x86-asm-syntax=intel -mtriple=x86_64 -mcpu=skx <source>
1. Running pass 'Function Pass Manager' on module '<source>'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function '@foo'
#0 0x000000000395b818 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/opt/compiler-explorer/clang-trunk/bin/llc+0x395b818)
#1 0x00000000039593dc SignalHandler(int) Signals.cpp:0:0
#2 0x00007b0ec3442520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#3 0x00007b0ec34969fc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969fc)
#4 0x00007b0ec3442476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
#5 0x00007b0ec34287f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
#6 0x000000000075cfb6 llvm::UniqueStringSaver::save(llvm::Twine const&) (.cold) StringSaver.cpp:0:0
#7 0x00000000038b1938 (/opt/compiler-explorer/clang-trunk/bin/llc+0x38b1938)
#8 0x00000000037dc806 llvm::DAGTypeLegalizer::SplitVectorOperand(llvm::SDNode*, unsigned int) (/opt/compiler-explorer/clang-trunk/bin/llc+0x37dc806)
#9 0x00000000037afb7d llvm::DAGTypeLegalizer::run() (/opt/compiler-explorer/clang-trunk/bin/llc+0x37afb7d)
#10 0x00000000037b0041 llvm::SelectionDAG::LegalizeTypes() (/opt/compiler-explorer/clang-trunk/bin/llc+0x37b0041)
#11 0x0000000003718ff2 llvm::SelectionDAGISel::CodeGenAndEmitDAG() (/opt/compiler-explorer/clang-trunk/bin/llc+0x3718ff2)
#12 0x000000000371bcac llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x371bcac)
#13 0x000000000371d90f llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x371d90f)
#14 0x0000000003709ce1 llvm::SelectionDAGISelLegacy::runOnMachineFunction(llvm::MachineFunction&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x3709ce1)
#15 0x00000000029e60db llvm::MachineFunctionPass::runOnFunction(llvm::Function&) (.part.0) MachineFunctionPass.cpp:0:0
#16 0x0000000002f3d912 llvm::FPPassManager::runOnFunction(llvm::Function&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x2f3d912)
#17 0x0000000002f3dba1 llvm::FPPassManager::runOnModule(llvm::Module&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x2f3dba1)
#18 0x0000000002f3f546 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/opt/compiler-explorer/clang-trunk/bin/llc+0x2f3f546)
#19 0x0000000000881e09 compileModule(char**, llvm::LLVMContext&) llc.cpp:0:0
#20 0x0000000000771476 main (/opt/compiler-explorer/clang-trunk/bin/llc+0x771476)
#21 0x00007b0ec3429d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#22 0x00007b0ec3429e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#23 0x0000000000879b1e _start (/opt/compiler-explorer/clang-trunk/bin/llc+0x879b1e)
Program terminated with signal: SIGSEGV
Compiler returned: 139
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzE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