This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][EmitC] Disallow to apply the op & to const
ClosedPublic

Authored by QuqqU on Apr 10 2023, 10:02 PM.

Details

Summary

Disallow to apply the operator & (address of) to emitc.constant operations.

Diff Detail

Event Timeline

QuqqU created this revision.Apr 10 2023, 10:02 PM
QuqqU requested review of this revision.Apr 10 2023, 10:02 PM
QuqqU updated this revision to Diff 512336.Apr 10 2023, 10:03 PM

ping

Please take a look, and let me know if there is an issue :)

ping

Please take a look, and let me know if there is an issue :)

I added Simon and myself as reviewers, as we initial pushed the code and mostly maintain it. We will take a look early next week.

simon-camp accepted this revision.Apr 26 2023, 7:10 AM

Thanks for the cleanup @QuqqU. This LGTM.

This revision is now accepted and ready to land.Apr 26 2023, 7:10 AM
QuqqU added a comment.EditedApr 26 2023, 8:04 AM

@marbre @simon-camp Could you mind if I ask you push it on my behalf?
I have no commit access because this is the first time.
I really appreciate!

  • name : Kiung Jung
  • email : answeqr@gmail.com

@marbre @simon-camp Could you mind if I ask you push it on my behalf?
I have no commit access because this is the first time.
I really appreciate!

Sure! I am happy to land the patch on your behalf.

marbre accepted this revision.Apr 26 2023, 10:22 AM

Thanks for the patch! Tested locally, LGTM. Unfortunately, I have some problems with arcanist grabbing the complete patch. I will try to land it tomorrow.

Thanks for the patch! Tested locally, LGTM. Unfortunately, I have some problems with arcanist grabbing the complete patch. I will try to land it tomorrow.

I greatly appreciate for your help :>
If there is an issue(eg. metadata) on my patch, please let me know.

This revision was automatically updated to reflect the committed changes.

Thanks for the patch! Tested locally, LGTM. Unfortunately, I have some problems with arcanist grabbing the complete patch. I will try to land it tomorrow.

I greatly appreciate for your help :>
If there is an issue(eg. metadata) on my patch, please let me know.

arc patch didn't worked out so I had to apply the raw patch file. When committing your changes I accidentally modified the commit message and dropped [MLIR][EmitC]. Sorry for that. I will be more careful when landing your second patch!

QuqqU added a comment.EditedApr 27 2023, 9:07 AM

Thanks for the patch! Tested locally, LGTM. Unfortunately, I have some problems with arcanist grabbing the complete patch. I will try to land it tomorrow.

I greatly appreciate for your help :>
If there is an issue(eg. metadata) on my patch, please let me know.

arc patch didn't worked out so I had to apply the raw patch file. When committing your changes I accidentally modified the commit message and dropped [MLIR][EmitC]. Sorry for that. I will be more careful when landing your second patch!

Although it is a small one, I am happy to contribute to this project.
Thanks for your kindness, and I'll make more contributions.