Skip to content

Allow arrays in build_gep #578

@Ianyourgod

Description

@Ianyourgod

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions