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

Make jl_datatype_size reflect non-padded field size #46322

Closed
wants to merge 1 commit into from

Conversation

Keno
Copy link
Member

@Keno Keno commented Aug 11, 2022

Padding is then added when creating the struct layout, but otherwise
the memory layout should be unchanged. This is an alternative to
the proposal in #46260. LLVM size and julia size should now be
aligned.

@Keno Keno force-pushed the kf/localoverflow2 branch 2 times, most recently from 22fa0e4 to dc86ed3 Compare August 11, 2022 20:23
Padding is then added when creating the struct layout, but otherwise
the memory layout should be unchanged. This is an alternative to
the proposal in #46260. LLVM size and julia size should now be
aligned.
@Keno Keno requested a review from JeffBezanson August 12, 2022 19:19
@Keno Keno mentioned this pull request Aug 15, 2022
60 tasks
Keno added a commit that referenced this pull request Aug 16, 2022
Turns out when you declare an alloca alignment, it also rounds up
the allocated size. Replaces #46322 and #46260 and fixes the
same issue.
Keno added a commit that referenced this pull request Aug 16, 2022
Turns out when you declare an alloca alignment, it also rounds up
the allocated size. Replaces #46322 and #46260 and fixes the
same issue.
@Keno Keno closed this Aug 16, 2022
KristofferC pushed a commit that referenced this pull request Aug 26, 2022
Turns out when you declare an alloca alignment, it also rounds up
the allocated size. Replaces #46322 and #46260 and fixes the
same issue.

(cherry picked from commit e358a17)
KristofferC pushed a commit that referenced this pull request Aug 26, 2022
Turns out when you declare an alloca alignment, it also rounds up
the allocated size. Replaces #46322 and #46260 and fixes the
same issue.

(cherry picked from commit e358a17)
@DilumAluthge DilumAluthge deleted the kf/localoverflow2 branch September 3, 2022 18:30
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