Fix reverse translation of ptr.annotation for multiple UserSemantic decorations#1723
Conversation
57936c9 to
f482fca
Compare
|
Restarting CI with a new base |
|
The test failure is not related to this patch. I found that the translation fails on this line Found that #1775 fixes this issue. I believe we should merge it before this one. |
MrSidims
left a comment
There was a problem hiding this comment.
LGTM
But would prefer if someone else from Intel took a look.
|
@dwoodwor-intel @sarnex @asudarsa please take a look. Thanks! |
|
I don't fully understand this but if nobody else responds ping me and we can go over it |
That's actually the point - to share some expertise and have someone with a fresh look at annotations translations, since, it does look like the initial 'design' was not the best and two authors of this 'design' are author and reviewer of this patch :D |
|
@MrSidims can we still merge this one? I believe no one is concerned about the change :) |
It was found that the decorated variables (results of
ptr.annotationintrinsic) are not used in further instructions unlike the input source. The issue is present for the reverse translation of multipleUserSemanticdecorations.This change fixes the reverse translation of multiple
ptr.annotationintrinsics on the same class field. With this, the result of intrinsic is not lost and actually reused in further intrinsics and instructions.