rust-lang / rust-lang/rustc_codegen_gcc
Seems like we generate more code than cg_llvm
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.2k
- Forks
- 105
- Avg merge
- 8h 20m
- Merged PRs (30d)
- 14
Description
Compare the GIMPLE and LLVM IR for my project reproducer-memchr.
The GIMPLE seems to contain more functions than the LLVM IR.
This might be one of the causes of the difference in binary size.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reproducer-memchr project and compare its GIMPLE and LLVM IR output, checking which functions appear in one representation but not the other. Trace the relevant rustc_codegen_gcc and cg_llvm compilation paths; done means explaining the function-count difference and whether it accounts for the binary-size discrepancy.
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