rust-lang / rust-lang/rustc_codegen_gcc

Remove code duplication with LLVM codegen by adding more stuff to codegen_ssa

Open
#138 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
1.2k
Forks
105
Avg merge
8h 20m
Merged PRs (30d)
14

Description

  • Allocator.
  • Inline asm dummy_output_type (and maybe codegen_inline_asm?).
  • Visibility
  • Intrinsics.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the codegen_ssa implementation and comparing the listed areas with the LLVM codegen, including allocator handling, inline asm dummy_output_type, visibility in callee.rs, and intrinsics. Done means the checklist items are addressed in codegen_ssa and the duplicated LLVM codegen logic is reduced without leaving any listed item unresolved.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.