-
Notifications
You must be signed in to change notification settings - Fork 11
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
Allocation of nested array #165
Comments
So there are two things at place here.
|
So, the bug is fixed. The other issue is more an enhancement to make it work in the llvm backend. |
And this is not entirely trivial and clear to me, how to do that properly. Ideas?
|
Is this a triangle array? |
Yes, this is a triangle array. I think this is a case of: "we support this and that and for other stuff you are out of luck". |
I'll close this for now and open a new enhancement issue. |
The
alloc2malloc
phase seems to have a problem with the allocation of nested arrays:Example: https://github.com/NeuralCoder3/thorin2/blob/matrix_dialect/lit/mem/nested_alloc.thorin
It might be the case, that my application of
alloc
is wrong in this case.Error:
The text was updated successfully, but these errors were encountered: