Skip to content

[NewPM][CodeGen] Enable new pass manager codegen pipeline for BPF #94141

Open
@paperchalice

Description

@paperchalice

We should enable a constrained O0 pipeline to generate object file ASAP. Although how to build codegen pipeline is still controversial (#89708), we still can port the rest machine function passes to generate object file.
Test is another problem, a large part of codegen tests use --start/stop-before/after`, this brings some difficulty to the test.

BPF might be the simplest target in non-experimental targets, this might be a good place to start, but tests in BPF check only asm code, this is bad for testing.

CC @aeubanks


TODO list:

Metadata

Metadata

Assignees

No one assigned

    Labels

    backend:BPFllvm:codegenmetaissueIssue to collect references to a group of similar or related issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions