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

Allow arrays in build_gep #578

Open
Ianyourgod opened this issue Mar 9, 2025 · 0 comments
Open

Allow arrays in build_gep #578

Ianyourgod opened this issue Mar 9, 2025 · 0 comments

Comments

@Ianyourgod
Copy link

Recently I was writing a little compiler and was trying to add array support. While trying to implement subscripting & pointer arithmetic, though, I noticed that build_gep only took the pointer type, even though it's something you kinda need with arrays too.

Could build_gep either have another version for arrays or just allow the original function to take arrays?

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

No branches or pull requests

1 participant