-
Notifications
You must be signed in to change notification settings - Fork 801
[SYCL] Move SYCLLowerWGLocalMemoryPass from PipelineStart to OptimizerEarlyEPCallback #20892
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
base: sycl
Are you sure you want to change the base?
[SYCL] Move SYCLLowerWGLocalMemoryPass from PipelineStart to OptimizerEarlyEPCallback #20892
Conversation
…rEarlyEPCallback Revert bede0e9: "[SYCL][SYCLLowerWGLocalMemoryPass] Remove implicit dependency on AlwaysInlinerPass and move to PipelineStart (intel#16356)" Motivation: * Cleaner than manually force-inlining. In general, we should rely on the pass pipeline's ordering for inlining. * bede0e9's rationale - "we can't assume the backend lowers the global after AlwaysInlinerPass" - no longer has use case after a pass re-ordering in downstream target. * OptimizerEarlyEPCallback is the first module pass callback after AlwaysInlinerPass. This was also proposed in intel#16347. Closes intel#16617
bader
left a comment
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.
LGTM, except one comment.
YuriPlyakhin
left a comment
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.
LGTM. one nit.
Co-authored-by: Yury Plyakhin <[email protected]>
done |
slawekptak
left a comment
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.
SYCL RT changes LGTM
Revert bede0e9:
"[SYCL][SYCLLowerWGLocalMemoryPass] Remove implicit dependency on AlwaysInlinerPass and move to PipelineStart (#16356)"
Motivation:
Closes #16617