-
Notifications
You must be signed in to change notification settings - Fork 796
[SYCL][Matrix] Add W/A for several corner cases of AccessChain usage #15738
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
Conversation
These corner cases are: 1. AccessChain uses are optimized out of LLVM IR modules, leaving the call unused; 2. AccessChain result is used in GEP 0,0 instruction for bfloat16 (instead of the immidiate use by load or store). All of these issues are or will be fixed in our drivers, but since the cadence of the driver update is relatively big the W/A is added in the frontend for an immediate fix. Signed-off-by: Sidorov, Dmitry <[email protected]>
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, just a few nits and one question: should we open an issue to remind us to remove this W/A when possible?
llvm/test/SYCLLowerIR/JointMatrixTransform/access-chain-no-uses.ll
Outdated
Show resolved
Hide resolved
llvm/test/SYCLLowerIR/JointMatrixTransform/access_chain_bf16.ll
Outdated
Show resolved
Hide resolved
Sure, I can open it. But first I need to create a tracker to say, that the issue exists in the first place... |
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 possible nit improvement.
Signed-off-by: Sidorov, Dmitry <[email protected]>
I've created an internal tracker for this. |
|
@intel/llvm-gatekeepers please help with the merge |
|
Still stuck, hopefully it fixes itself lol |
|
we did it |

These corner cases are:
All of these issues are or will be fixed in our drivers, but since the cadence of the driver update is relatively big the W/A is added in the frontend for an immediate fix.