Skip to content
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

PR #16318: Add handling for general dynamic slice fusion while emitting thunks #16366

Merged
merged 1 commit into from
Aug 27, 2024

Conversation

copybara-service[bot]
Copy link

@copybara-service copybara-service bot commented Aug 22, 2024

PR #16318: Add handling for general dynamic slice fusion while emitting thunks

Imported from GitHub PR #16318

In the current implementation of dynamic slice fusion, we rely on constants or very specific loop offset patterns. This is an effort to generalize this by computing the offset values during compilation and using the constant array as source of offset while emitting thunks.

This patch adds support for this in thunks. Next, support for this will be added in the dynamic-slice-fusion-rewriter.
Copybara import of the project:

--
936484e by Shraiysh Vaishay [email protected]:

Add handling for general dynamic slice fusion while emitting thunks

In the current implementation of dynamic slice fusion, we rely on
constants or very specific loop offset patterns. This is an effort to
generalize this by computing the offset values during compilation and
using the constant array as source of offset while emitting thunks.

This patch adds support for this in thunks. Next, support for this will
be added in the dynamic-slice-fusion-rewriter.

Merging this change closes #16318

FUTURE_COPYBARA_INTEGRATE_REVIEW=#16318 from shraiysh:general_dynamic_slice_fusion 936484e

@copybara-service copybara-service bot force-pushed the test_666470987 branch 8 times, most recently from f5d60a5 to c145342 Compare August 27, 2024 22:16
…ng thunks

Imported from GitHub PR #16318

In the current implementation of dynamic slice fusion, we rely on constants or very specific loop offset patterns. This is an effort to generalize this by computing the offset values during compilation and using the constant array as source of offset while emitting thunks.

This patch adds support for this in thunks. Next, support for this will be added in the dynamic-slice-fusion-rewriter.
Copybara import of the project:

--
936484e by Shraiysh Vaishay <[email protected]>:

Add handling for general dynamic slice fusion while emitting thunks

In the current implementation of dynamic slice fusion, we rely on
constants or very specific loop offset patterns. This is an effort to
generalize this by computing the offset values during compilation and
using the constant array as source of offset while emitting thunks.

This patch adds support for this in thunks. Next, support for this will
be added in the dynamic-slice-fusion-rewriter.

Merging this change closes #16318

COPYBARA_INTEGRATE_REVIEW=#16318 from shraiysh:general_dynamic_slice_fusion 936484e
PiperOrigin-RevId: 668167156
@copybara-service copybara-service bot merged commit 6691847 into main Aug 27, 2024
@copybara-service copybara-service bot deleted the test_666470987 branch August 27, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant