Skip to content

feat: basic code generation#33

Open
DairoGrey wants to merge 2 commits intoApsarasX:masterfrom
DairoGrey:feat-basic-code-gen
Open

feat: basic code generation#33
DairoGrey wants to merge 2 commits intoApsarasX:masterfrom
DairoGrey:feat-basic-code-gen

Conversation

@DairoGrey
Copy link
Contributor

feat: basic code generation
feat: add packed flag to StructType
feat: add CallingConv to Function

Adds basic code generation (in object and assembly formats) with new PassManagers for optimizations (not all of them was added) and legacy PassManager for code generation.

Feel free to add any comments and notes about any stuff.

feat: add packed flag to StructType
feat: add CallingConv to Function

Signed-off-by: Dairo Grey <1327517+DairoGrey@users.noreply.github.com>
@ApsarasX
Copy link
Owner

Thank you for your contribution, I will take the time to look at the PR, I have been busy recently.

@ApsarasX
Copy link
Owner

BTW, your PR seems to have some problems when testing.

feat: add packed flag to StructType
feat: add CallingConv to Function
@DairoGrey DairoGrey force-pushed the feat-basic-code-gen branch from f50ee45 to 58cb399 Compare May 10, 2023 12:36
leonelsanchesdasilva added a commit to DesignLiquido/llvm-bindings that referenced this pull request Mar 13, 2026
leonelsanchesdasilva added a commit to DesignLiquido/llvm-bindings that referenced this pull request Mar 13, 2026
* Porting ApsarasX/llvm-bindings#33 to this repo.
* Addressing Copilot's comments.
* Updating LLVM version to 22.1.1.
@leonelsanchesdasilva
Copy link

@DairoGrey This PR was ported to https://github.com/DesignLiquido/llvm-bindings/releases/tag/v9.1.0, which uses LLVM 22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants