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

cbe: enough fixes for -Donly-c to be able to produce an executable #13389

Merged
merged 13 commits into from
Nov 2, 2022

Conversation

jacobly0
Copy link
Member

@jacobly0 jacobly0 commented Nov 1, 2022

Related #5246

Copy link
Contributor

@topolarity topolarity left a comment

Choose a reason for hiding this comment

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

Asm looks good to me!

Incredible work as usual @jacobly0

Can be changed to `!inst_ty.hisRuntimeBitsIgnoreComptime()` when the
"result location with inferred type ends up being pointer to comptime_int"
test stops producing Air containing a `bitcast(*comptime_int, ...)`.

See ziglang#13410
This vastly reduces the amount of deduplication state we need to deal with.
@andrewrk andrewrk merged commit e50789f into ziglang:master Nov 2, 2022
andrewrk added a commit that referenced this pull request Nov 2, 2022
cbe: enough fixes for `-Donly-c` to be able to produce an executable
@jacobly0 jacobly0 deleted the fix-only-c branch November 3, 2022 01:09
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