-
-
Notifications
You must be signed in to change notification settings - Fork 265
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
Get rid of cycles in DtoType() #4736
Conversation
34c353d
to
530e9de
Compare
To break remaining cycles in DtoType() - a class *ref* is an opaque IR pointer nowadays.
|
||
if (getTypeAllocSize(t->type) != sd->structsize) { | ||
error(sd->loc, "ICE: struct IR size does not match the frontend size"); | ||
fatal(); |
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.
I presume this errors for the testcase of #4734 ? (without the fix of this PR)
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.
Yes, at least without assertions (I've checked the vanilla-LLVM jobs), I think those were hit earlier.
Get rid of cycles in DtoType() Merge pull request ldc-developers#4712 from kinke/bump_ldc_llvm Bump LDC-LLVM to v18.1.8 Revert "Merge pull request ldc-developers#4736 from kinke/fix4734" This reverts commit 53dc56a73f0704bee6fc5db82bae5e0d0b98f82b.
Tested at Symmetry (hence the beta2 release - not requiring a fork any longer), looking good. |
With the nice side-effect of fixing #4734.