Summary
Tuples are lowered to LLVM literal structs, but there is no visitor for index access (e.g. t[0]). Accessing a struct field in LLVM IR requires extractvalue for constants or getelementptr + load for allocas. Without this, tuples are write-once, read-never constructs.
Additional Information
Code of Conduct
Summary
Tuples are lowered to LLVM literal structs, but there is no visitor for index access (e.g.
t[0]). Accessing a struct field in LLVM IR requiresextractvaluefor constants orgetelementptr + loadfor allocas. Without this, tuples are write-once, read-never constructs.Additional Information
Code of Conduct