-
Notifications
You must be signed in to change notification settings - Fork 74k
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
[MLIR] Update lhlo.const to linalg lowering to use affine.store inste… #40925
[MLIR] Update lhlo.const to linalg lowering to use affine.store inste… #40925
Conversation
We found a Contributor License Agreement for you (the sender of this pull request), but were unable to find agreements for all the commit author(s) or Co-authors. If you authored these, maybe you used a different email address in the git commits than was used to sign the CLA (login here to double check)? If these were authored by someone else, then they will need to sign a CLA as well, and confirm that they're okay with these being contributed to Google. ℹ️ Googlers: Go here for more info. |
@bondhugula the CLA-related message is in general an indication that the commit email isn't the usual one |
3844453
to
d77ddc8
Compare
d77ddc8
to
89db989
Compare
CLAs look good, thanks! ℹ️ Googlers: Go here for more info. |
@googlebot I fixed it. |
Thanks, fixed. |
Ping @pifon2a - thanks. |
@bondhugula Can you please resolve conflicts? Thanks! |
Done, thanks! |
89db989
to
3ec00d7
Compare
@bondhugula Still, conflicts appearing, can you please resolve those? Thanks! |
…ad of std.store The xla_lhlo.const lowering uses std.store to store a constant to 0-d memrefs. Update it to affine.store since such an access is trivially affine (no indices). An affine.store can always be lowered to std.store.
3ec00d7
to
9e18ede
Compare
Done - now. (Looks like those conflicts happened in the time my rebased commit was tested.) |
…store inste… Imported from GitHub PR tensorflow/tensorflow#40925 …ad of std.store The xla_lhlo.const lowering uses std.store to store a constant to 0-d memrefs. Update it to affine.store since such an access is trivially affine (no indices). An affine.store can always be lowered to std.store. Copybara import of the project: -- 9e18ede72fbbca107177bd742921e4cbf77adc82 by Uday Bondhugula <uday@polymagelabs.com>: [MLIR] Update lhlo.const to linalg lowering to use affine.store instead of std.store The xla_lhlo.const lowering uses std.store to store a constant to 0-d memrefs. Update it to affine.store since such an access is trivially affine (no indices). An affine.store can always be lowered to std.store. COPYBARA_INTEGRATE_REVIEW=tensorflow/tensorflow#40925 from polymage-labs:lhlo_to_linalg_affine_store 9e18ede72fbbca107177bd742921e4cbf77adc82 PiperOrigin-RevId: 320623152
…ad of std.store
The xla_lhlo.const lowering uses std.store to store a constant to
0-d memrefs. Update it to affine.store since such an access is trivially
affine (no indices). An affine.store can always be lowered to std.store.