You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Use compact single-payload storage for LLVM variant values #450
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.performanceIssues related to performance or optimization.technical debtIssues that represent potential future improvements or problems.
The LLVM representation of a payload variant currently stores the tag and a separate payload tuple for every case:
{ i32 tag, case0_payload, case1_payload, ... }
This is functionally correct, but the value size grows with the sum of all case payloads. A tagged union should normally require storage for only the largest, most-aligned payload.
Scope
Design and implement a target-correct tag + shared payload storage representation, or an equivalent compact layout.
Use LLVM target data for payload size and alignment decisions.
enhancementA request for a new feature or improvement.help wantedThe issue requires extra attention or help from others.performanceIssues related to performance or optimization.technical debtIssues that represent potential future improvements or problems.
Activity
Fix typed codegen and expand portable std capabilities (#701)