Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Llvm14 dev #4

Closed
wants to merge 14 commits into from
Closed

Llvm14 dev #4

wants to merge 14 commits into from

Conversation

gwenzek
Copy link
Owner

@gwenzek gwenzek commented Jun 26, 2022

Preview of my ongoing work on LLVM14 support.

llvm14_master branch is a rebase of ziglang/zig/llvm14 branch onto ziglang/zig/master branch.
llvm14_dev branch is where I put my original work.
This allow to keep the diff to a reasonable size.

},
else => @compileError("Invalid atomic type " ++ @typeName(T)),
};
// LLVM14: broken LLVM module found: Operand for indirect constraint must have elementtype attribute
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inline asm changes in LLVM14. Rolledback to an holder version of this code which uses less inline asm

@@ -9414,7 +9459,7 @@ static void add_fp_entry(CodeGen *g, const char *name, uint32_t bit_count, LLVMT
{
ZigType *entry = new_type_table_entry(ZigTypeIdFloat);
entry->llvm_type = type_ref;
entry->size_in_bits = 8*LLVMStoreSizeOfType(g->target_data_ref, entry->llvm_type);
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andrewrk this is how I was planning to solve ziglang#11587

@gwenzek gwenzek closed this Nov 16, 2022
@gwenzek gwenzek deleted the llvm14_dev branch January 31, 2024 20:23
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.

1 participant