-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[Lang] MatrixNdarray refactor part9: Add scalarization for AllocaStmt #6168
[Lang] MatrixNdarray refactor part9: Add scalarization for AllocaStmt #6168
Conversation
✅ Deploy Preview for docsite-preview ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
Gonna enable more python tests in following PRs |
Thanks for implementing this! LGTM. |
I dont think MatrixInitStmt is holding any pointer-typed values? Are you referring to the redundant MatrixInitStmt inserted during scalarization, those are remove right after scalarization is done (There's will be MatrixInitCleanUp pass). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm.. I think having a case in the LowerMatrixPtr
pass is much easier? You don't have to modify the Scalarize
pass at all.
But it is trying to scalarize the The other thing with |
IIUC However, considering that |
2135b3a
to
e7f6629
Compare
Simplified |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great!!
Co-authored-by: Yi Xu <xy_xuyi@foxmail.com>
…nto matrix_ndarray_pr10
Related issue = #5873, #5819
This PR is working "Part ④" in #5873.
[AllocaStmt scalarization]
[Load AllocaStmt]
[Store to AllocaStmt]