Error: Do not know how to split the result of this operator
- Dominant language
- LLVM
- Stars
- 40.5k
- Forks
- 18.7k
- PR merge metrics
- PR metrics pending
Description
When compiling upstream `sha2` crate in Rust with LLVM, I encountered this error which is reproducible with the latest version of llvm.
### Command to Reproduce
Artifact: [k.zip](https://github.com/user-attachments/files/24134450/k.zip)
```
llc k.ll -filetype=obj -o k.o
```
### Error
```
LLVM ERROR: Do not know how to split the result of this operator!
```
Contributor guide
Research direction
Download the attached k.zip artifact and reproduce the failure with `llc k.ll -filetype=obj -o k.o` while compiling the upstream `sha2` crate with LLVM. Start by examining the generated k.ll and the LLVM compilation path that reports the result-splitting error; done means the reproducer compiles without this LLVM error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100