-
Notifications
You must be signed in to change notification settings - Fork 0
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
Llvm14 dev #4
Conversation
WIP: try to get a compilable zig, even with some todos
}, | ||
else => @compileError("Invalid atomic type " ++ @typeName(T)), | ||
}; | ||
// LLVM14: broken LLVM module found: Operand for indirect constraint must have elementtype attribute |
There was a problem hiding this comment.
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); |
There was a problem hiding this comment.
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
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.